mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-30 20:34:04 +02:00
Try
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
location / {
|
location / {
|
||||||
# Proxy pass
|
# Proxy pass
|
||||||
proxy_pass http://localhost:8080;
|
proxy_pass http://localhost:8080;
|
||||||
#rewrite ^%%ingress_entry%%/(.*)$ /$1 break;
|
rewrite ^%%ingress_entry%%/(.*)$ /$1 break;
|
||||||
|
|
||||||
# Correct base_url
|
# Correct base_url
|
||||||
proxy_set_header Accept-Encoding "";
|
proxy_set_header Accept-Encoding "";
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
sub_filter action=\"/ action=\"%%ingress_entry%%/;
|
sub_filter action=\"/ action=\"%%ingress_entry%%/;
|
||||||
sub_filter EventSource('/ EventSource('%%ingress_entry%%/;
|
sub_filter EventSource('/ EventSource('%%ingress_entry%%/;
|
||||||
sub_filter fetch('/ fetch('%%ingress_entry%%/;
|
sub_filter fetch('/ fetch('%%ingress_entry%%/;
|
||||||
#sub_filter "\"change\"" "\"load, change\"";
|
sub_filter "\"change\"" "\"load, change\"";
|
||||||
|
|
||||||
# Timeout if the real server is dead
|
# Timeout if the real server is dead
|
||||||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
|
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
|
||||||
|
|||||||
Reference in New Issue
Block a user