This commit is contained in:
Alexandre
2025-04-04 08:11:22 +02:00
committed by GitHub
parent 4c7f7c6837
commit d1526aab45

View File

@@ -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;