This commit is contained in:
parent
8052e0eb82
commit
82d9d94313
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user