Update ingress.conf

This commit is contained in:
Alexandre
2022-06-07 13:10:43 +02:00
committed by GitHub
parent f0d8f9a582
commit 8e8bddec69

View File

@@ -5,18 +5,18 @@ server {
client_max_body_size 0;
location / {
add_header Access-Control-Allow-Origin *;
proxy_pass http://127.0.0.1:8083;
proxy_buffering off;
proxy_read_timeout 30;
proxy_set_header Connection "Upgrade";
proxy_set_header Upgrade $http_upgrade;
add_header Access-Control-Allow-Origin *;
proxy_pass http://127.0.0.1:8083;
proxy_buffering off;
proxy_read_timeout 30;
proxy_set_header Connection "Upgrade";
proxy_set_header Upgrade $http_upgrade;
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
proxy_set_header X-Forwarded-Proto $scheme; # Avoids mixed content
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
proxy_set_header proxy_set_header HA-Calibre-User admin;
}
}