mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-28 03:14:04 +02:00
Fix stats
This commit is contained in:
@@ -15,8 +15,13 @@
|
|||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
|
|
||||||
# Correct base_url
|
# Adjust any Location headers in backend redirects
|
||||||
absolute_redirect off;
|
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 "";
|
proxy_set_header Accept-Encoding "";
|
||||||
sub_filter_once off;
|
sub_filter_once off;
|
||||||
sub_filter_types *;
|
sub_filter_types *;
|
||||||
|
|||||||
Reference in New Issue
Block a user