mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Try
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
location / {
|
||||
# Proxy pass
|
||||
proxy_pass http://localhost:8080;
|
||||
#rewrite ^%%ingress_entry%%/(.*)$ /$1 break;
|
||||
rewrite ^%%ingress_entry%%/(.*)$ /$1 break;
|
||||
|
||||
# Correct base_url
|
||||
proxy_set_header Accept-Encoding "";
|
||||
@@ -21,7 +21,7 @@
|
||||
sub_filter action=\"/ action=\"%%ingress_entry%%/;
|
||||
sub_filter EventSource('/ EventSource('%%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
|
||||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
|
||||
|
||||
Reference in New Issue
Block a user