mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Allow nabu casa https://github.com/alexbelgium/hassio-addons/issues/408
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user