mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
try
This commit is contained in:
@@ -1,9 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen %%interface%%:%%port%% default_server;
|
listen %%interface%%:%%port%% default_server;
|
||||||
include /etc/nginx/includes/server_params.conf;
|
|
||||||
include /etc/nginx/includes/proxy_params.conf;
|
|
||||||
|
|
||||||
proxy_buffering off;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
# Proxy pass
|
# Proxy pass
|
||||||
@@ -21,7 +17,6 @@
|
|||||||
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\"";
|
|
||||||
|
|
||||||
# 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