mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Fix stats
This commit is contained in:
@@ -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 *;
|
||||
|
||||
Reference in New Issue
Block a user