Test non standard port

https://github.com/alexbelgium/hassio-addons/issues/345
This commit is contained in:
Alexandre
2022-06-07 14:37:04 +02:00
committed by GitHub
parent d2fc19a9c7
commit d0645b79b8

View File

@@ -16,7 +16,9 @@ server {
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 HA-Calibre-User admin;
#proxy_set_header HA-Calibre-User admin;
proxy_redirect http://$host/ $scheme://$host:%%haport%%/;
proxy_redirect $scheme://$host/ $scheme://$host:%%haport%%/;
}
}