deploy res.
Some checks failed
Deploy / Build (push) Failing after 2m24s

This commit is contained in:
amass 2024-11-21 00:05:44 +08:00
parent 8052e0eb82
commit 82d9d94313

View File

@ -39,7 +39,17 @@ location ~ ^/api/v1/.*$ {
proxy_pass http://local;
}
location ~ ^/wt/.+$ {
location = /wt/app.js {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header x-wiz-real-ip $remote_addr;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_pass http://wt;
}