Update ingress.conf

This commit is contained in:
Alexandre
2022-08-29 21:33:16 +02:00
committed by GitHub
parent 70f9947b0c
commit b3eda850fb

View File

@@ -46,12 +46,12 @@ server {
sub_filter_types *;
#sub_filter http://$host/ $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 https://$host/ https://$host$x_port/;
#proxy_redirect default;
#proxy_redirect http://$host/ $x_scheme://$host$x_port/;
#proxy_redirect https://$host/ https://$host$x_port/;
#proxy_redirect http://$host$x_port/ $x_scheme://$host$x_port/;
#sub_filter http://$host/ http://$host$x_port/;
#sub_filter https://$host/ https://$host$x_port/;
proxy_redirect default;
proxy_redirect http://$host/ $x_scheme://$host$x_port/;
proxy_redirect https://$host/ https://$host$x_port/;
proxy_redirect http://$host$x_port/ $x_scheme://$host$x_port/;
# Rewrite url
sub_filter "/media" "%%ingress_entry%%/media";