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