mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 07:35:56 +02:00
Update ingress.conf
This commit is contained in:
@@ -43,12 +43,13 @@ 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 https://$host/ $x_scheme://$host$x_port/;
|
|
||||||
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 https://$host/ https://$host$x_port/;
|
||||||
|
|
||||||
# Rewrite url
|
# Rewrite url
|
||||||
sub_filter "/static" "%%ingress_entry%%/static";
|
|
||||||
sub_filter "/media" "%%ingress_entry%%/media";
|
sub_filter "/media" "%%ingress_entry%%/media";
|
||||||
|
sub_filter "/static" "%%ingress_entry%%/static";
|
||||||
sub_filter "/offline" "%%ingress_entry%%/offline";
|
sub_filter "/offline" "%%ingress_entry%%/offline";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user