mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 02:39:26 +08:00
15 lines
437 B
Plaintext
15 lines
437 B
Plaintext
#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/ |