nginx: add /gopher

master
an 2019-06-05 04:48:20 -04:00
parent 1f7e4ef015
commit 30c59ad71e
1 changed files with 7 additions and 0 deletions

View File

@ -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;