mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-12 10:29:52 +02:00
Fix Stats
This commit is contained in:
@@ -6,21 +6,6 @@
|
||||
proxy_buffering off;
|
||||
auth_basic_user_file /home/pi/.htpasswd;
|
||||
|
||||
location /log {
|
||||
# Proxy pass
|
||||
proxy_pass http://localhost:8082;
|
||||
}
|
||||
|
||||
location /stats {
|
||||
# Proxy pass
|
||||
proxy_pass http://localhost:8082;
|
||||
}
|
||||
|
||||
location /terminal {
|
||||
# Proxy pass
|
||||
proxy_pass http://localhost:8082;
|
||||
}
|
||||
|
||||
location / {
|
||||
# Proxy pass
|
||||
proxy_pass http://localhost:8082;
|
||||
@@ -31,12 +16,16 @@
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
# Correct base_url
|
||||
absolute_redirect off;
|
||||
proxy_set_header Accept-Encoding "";
|
||||
sub_filter_once off;
|
||||
sub_filter_types *;
|
||||
sub_filter /spectrogram %%ingress_entry%%/spectrogram;
|
||||
sub_filter /By_Date/ %%ingress_entry%%/By_Date/;
|
||||
sub_filter /Charts/ %%ingress_entry%%/Charts/;
|
||||
sub_filter /stats/ /api/hassio_ingress/S04EbsgJIYd9FheFs7F8voUrUc6s0hCM5Eg3xxRecdI/stats/;
|
||||
sub_filter /log/ /api/hassio_ingress/S04EbsgJIYd9FheFs7F8voUrUc6s0hCM5Eg3xxRecdI/log/;
|
||||
sub_filter /terminal/ /api/hassio_ingress/S04EbsgJIYd9FheFs7F8voUrUc6s0hCM5Eg3xxRecdI/terminal/;
|
||||
sub_filter /todays %%ingress_entry%%/todays;
|
||||
sub_filter href=\"/ href=\"%%ingress_entry%%/;
|
||||
sub_filter src=\"/ src=\"%%ingress_entry%%/;
|
||||
|
||||
Reference in New Issue
Block a user