nginx: remove mu. et al, add /temp/
父节点
aae3799fa4
当前提交
70717c72e9
|
@ -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 {
|
||||
|
|
正在加载...
在新工单中引用