nginx: add /gopher
parent
1f7e4ef015
commit
30c59ad71e
|
@ -10,11 +10,18 @@ http {
|
||||||
sendfile on;
|
sendfile on;
|
||||||
keepalive_timeout 65;
|
keepalive_timeout 65;
|
||||||
gzip on;
|
gzip on;
|
||||||
|
charset utf-8;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name heavenisin.space;
|
server_name heavenisin.space;
|
||||||
|
|
||||||
|
location /gopher/ {
|
||||||
|
root /srv;
|
||||||
|
index index.html index.htm;
|
||||||
|
autoindex on;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /srv/http/pub;
|
root /srv/http/pub;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
|
|
Loading…
Reference in New Issue