mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
X-Forwarded-Proto $scheme
https://github.com/alexbelgium/hassio-addons/issues/345
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user