This commit is contained in:
Alexandre
2022-08-22 16:58:52 +02:00
committed by GitHub
parent 27d7b50306
commit 127b037d12

View File

@@ -47,8 +47,8 @@ server {
# Correct url without port when using https
sub_filter_once off;
sub_filter_types *;
sub_filter http://$host/ $x_scheme://$x_host$x_port/;
sub_filter $x_scheme://$host/ $x_scheme://$x_host$x_port/;
sub_filter https://$host/ $x_scheme://$host$x_port/;
sub_filter http://$host/ $x_scheme://$host$x_port/;
rewrite ^(.*)/api/hassio_ingress/.*(/api/hassio_ingress/.*)$ $1$2 permanent;