mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-02 15:20:53 +02:00
Update ingress.conf
This commit is contained in:
@@ -13,8 +13,8 @@ server {
|
|||||||
proxy_set_header Connection "Upgrade";
|
proxy_set_header Connection "Upgrade";
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Host $http_host; # try $host instead if this doesn't work
|
proxy_set_header Host $http_host; # try $host instead if this doesn't work
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Host $http_host;
|
#proxy_set_header X-Forwarded-Host $http_host;
|
||||||
|
|
||||||
# Allow ingress subpath
|
# Allow ingress subpath
|
||||||
proxy_set_header X-Script-Name %%ingress_entry%%;
|
proxy_set_header X-Script-Name %%ingress_entry%%;
|
||||||
@@ -45,9 +45,9 @@ server {
|
|||||||
# Correct url without port when using https
|
# Correct url without port when using https
|
||||||
sub_filter_once off;
|
sub_filter_once off;
|
||||||
sub_filter_types *;
|
sub_filter_types *;
|
||||||
#sub_filter http://$host/ $x_scheme://$host$x_port/;
|
sub_filter http://$host/ $x_scheme://$host$x_port/;
|
||||||
sub_filter http://$host$x_port/ $x_scheme://$host$x_port/;
|
sub_filter http://$host$x_port/ $x_scheme://$host$x_port/;
|
||||||
sub_filter http://$host/ http://$host$x_port/;
|
#sub_filter http://$host/ http://$host$x_port/;
|
||||||
sub_filter https://$host/ https://$host$x_port/;
|
sub_filter https://$host/ https://$host$x_port/;
|
||||||
#proxy_redirect default;
|
#proxy_redirect default;
|
||||||
#proxy_redirect http://$host/ $x_scheme://$host$x_port/;
|
#proxy_redirect http://$host/ $x_scheme://$host$x_port/;
|
||||||
|
|||||||
Reference in New Issue
Block a user