This commit is contained in:
root 2023-01-27 23:36:26 +08:00
parent bde355072f
commit 3378813d96
11 changed files with 20 additions and 20 deletions

View file

@ -17,7 +17,7 @@ server {
include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*;
location / {
proxy_pass http://127.0.1.1:9010;
proxy_pass http://127.0.0.1:9010;
location ~* ^.+\.(%proxy_extentions%)$ {
# root %sdocroot%;
access_log /var/log/%web_system%/domains/%domain%.log combined;
@ -27,7 +27,7 @@ server {
}
}
location ~ ^/(ws|terminal/.+)$ {
proxy_pass http://127.0.1.1:9010;
proxy_pass http://127.0.0.1:9010;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
@ -38,7 +38,7 @@ server {
}
location @fallback {
proxy_pass http://127.0.1.1:9010;
proxy_pass http://127.0.0.1:9010;
}
location ~ /\.ht {return 404;}