nginx: remove mu. et al, add /temp/
parent
aae3799fa4
commit
70717c72e9
|
@ -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;
|
||||||
|
|
||||||
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 {
|
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 {
|
server {
|
||||||
|
|
Loading…
Reference in New Issue