nginx: remove mu. et al, add /temp/

master
an 2020-08-31 18:46:45 -06:00
parent aae3799fa4
commit 70717c72e9
1 changed files with 16 additions and 30 deletions

View File

@ -5,6 +5,8 @@ events {
} }
http { http {
disable_symlinks off;
include mime.types; include mime.types;
default_type application/octet-stream; default_type application/octet-stream;
sendfile on; sendfile on;
@ -12,37 +14,21 @@ http {
gzip on; gzip on;
charset utf-8; charset utf-8;
upstream php-handler {
server unix:/run/php-fpm.sock;
}
server { server {
listen 80; listen 80;
server_name heavenisin.space; server_name heavenisin.space;
index index.html index.htm;
include common.conf; include common.conf;
root /var/www/pub_http/;
location /gopher/ { location /temp {
root /srv; alias /tmp/hosting/;
index index.html index.htm;
autoindex on;
} }
location / {
root /srv/http/pub;
index index.html index.htm;
}
}
server {
listen 80;
server_name mu.heavenisin.space;
include common.conf;
location / {
proxy_pass http://127.0.0.1:8000/;
}
}
upstream php-handler {
server unix:/run/php-fpm/php-fpm.sock;
} }
server { server {