Fix stats

This commit is contained in:
Alexandre
2025-03-04 18:24:22 +01:00
committed by GitHub
parent 9725c5608b
commit eec60d6cea

View File

@@ -15,8 +15,13 @@
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
# Correct base_url
# Adjust any Location headers in backend redirects
absolute_redirect off;
proxy_redirect /stats /api/hassio_ingress/S04EbsgJIYd9FheFs7F8voUrUc6s0hCM5Eg3xxRecdI/stats;
proxy_redirect /log /api/hassio_ingress/S04EbsgJIYd9FheFs7F8voUrUc6s0hCM5Eg3xxRecdI/log;
proxy_redirect /terminal /api/hassio_ingress/S04EbsgJIYd9FheFs7F8voUrUc6s0hCM5Eg3xxRecdI/terminal;
# Correct base_url
proxy_set_header Accept-Encoding "";
sub_filter_once off;
sub_filter_types *;