correct ingress

This commit is contained in:
Alexandre
2022-05-02 10:41:43 +02:00
parent ce212a96ee
commit 5ea5d72bb9
2 changed files with 6 additions and 1 deletions

View File

@@ -12,7 +12,11 @@ server {
proxy_read_timeout 30;
proxy_set_header Connection "Upgrade";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host $host;
proxy_bind $server_addr;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Script-Name %%UIPATH%%; # IMPORTANT: path has NO trailing slash
}
}