Update ingress.conf

This commit is contained in:
Alexandre
2022-08-28 12:28:34 +02:00
committed by GitHub
parent 6a0215856e
commit 6a93e282b0

View File

@@ -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";
}
}