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

master
an 2020-08-31 18:46:45 -06:00
bovenliggende aae3799fa4
commit 70717c72e9
1 gewijzigde bestanden met toevoegingen van 16 en 30 verwijderingen

Bestand weergeven

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