mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-14 03:21:30 +02:00
Update ingress.conf
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
location / {
|
location / {
|
||||||
# Proxy pass
|
# Proxy pass
|
||||||
proxy_pass http://localhost:8080;
|
proxy_pass http://localhost:8080;
|
||||||
|
rewrite ^%%ingress_entry%%/(.*)$ /$1 break;
|
||||||
|
|
||||||
# Next three lines allow websockets
|
# Next three lines allow websockets
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
@@ -18,11 +19,14 @@
|
|||||||
proxy_set_header Accept-Encoding "";
|
proxy_set_header Accept-Encoding "";
|
||||||
sub_filter_once off;
|
sub_filter_once off;
|
||||||
sub_filter_types *;
|
sub_filter_types *;
|
||||||
sub_filter href=\"/ href=\"%%ingress_entry%%/;
|
sub_filter \"/ \"%%ingress_entry%%/;
|
||||||
sub_filter src=\"/ src=\"%%ingress_entry%%/;
|
sub_filter \'/ \'%%ingress_entry%%/;
|
||||||
sub_filter hx-get=\"/ hx-get=\"%%ingress_entry%%/;
|
#sub_filter href=\"/ href=\"%%ingress_entry%%/;
|
||||||
sub_filter action=\"/ action=\"%%ingress_entry%%/;
|
#sub_filter src=\"/ src=\"%%ingress_entry%%/;
|
||||||
sub_filter EventSource('/ EventSource('/%%ingress_entry%%/;
|
#sub_filter hx-get=\"/ hx-get=\"%%ingress_entry%%/;
|
||||||
|
#sub_filter action=\"/ action=\"%%ingress_entry%%/;
|
||||||
|
#sub_filter EventSource('/ EventSource('%%ingress_entry%%/;
|
||||||
|
#sub_filter fetch('/ fetch('/%%ingress_entry%%/;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user