This commit is contained in:
Alexandre authored and GitHub committed 2022-08-22 16:58:52 +02:00
1 parent 27d7b50306
commit 127b037d12
1 file changed
+2 -2
@@ -47,8 +47,8 @@ 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://$x_host$x_port/; sub_filter https://$host/ $x_scheme://$host$x_port/;
sub_filter $x_scheme://$host/ $x_scheme://$x_host$x_port/; sub_filter http://$host/ $x_scheme://$host$x_port/;
rewrite ^(.*)/api/hassio_ingress/.*(/api/hassio_ingress/.*)$ $1$2 permanent; rewrite ^(.*)/api/hassio_ingress/.*(/api/hassio_ingress/.*)$ $1$2 permanent;