mirror of https://github.com/midoks/mdserver-web
parent
4701839c33
commit
b48a53e0d7
@ -0,0 +1,15 @@ |
|||||||
|
#PROXY-START/ |
||||||
|
# root /www/server/nezha/dashboard/resource; |
||||||
|
location / { |
||||||
|
proxy_pass http://127.0.0.1:9527; |
||||||
|
proxy_set_header Host $http_host; |
||||||
|
proxy_set_header Upgrade $http_upgrade; |
||||||
|
} |
||||||
|
location ~ ^/(ws|terminal/.+)$ { |
||||||
|
proxy_pass http://127.0.0.1:9527; |
||||||
|
proxy_http_version 1.1; |
||||||
|
proxy_set_header Upgrade $http_upgrade; |
||||||
|
proxy_set_header Connection "Upgrade"; |
||||||
|
proxy_set_header Host $http_host; |
||||||
|
} |
||||||
|
#PROXY-END/ |
Loading…
Reference in new issue