mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-18 18:38:17 +01:00
Update ingress.conf
This commit is contained in:
@@ -43,12 +43,13 @@ server {
|
||||
# Correct url without port when using https
|
||||
sub_filter_once off;
|
||||
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_port/ $x_scheme://$host$x_port/;
|
||||
sub_filter https://$host/ https://$host$x_port/;
|
||||
|
||||
# Rewrite url
|
||||
sub_filter "/static" "%%ingress_entry%%/static";
|
||||
sub_filter "/media" "%%ingress_entry%%/media";
|
||||
sub_filter "/static" "%%ingress_entry%%/static";
|
||||
sub_filter "/offline" "%%ingress_entry%%/offline";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user