X-Forwarded-Proto $scheme

https://github.com/alexbelgium/hassio-addons/issues/345
This commit is contained in:
Alexandre
2022-06-07 09:48:44 +02:00
committed by GitHub
parent e5ad486f3b
commit f0d8f9a582

View File

@@ -16,6 +16,7 @@ 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 X-Forwarded-Proto $scheme; # Avoids mixed content
}
}