mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-22 12:53:32 +02:00
Ingress responses were re-gzipped by nginx (default gzip_types includes text/html), dropping Content-Length and forcing a chunked/streamed response. That pushes both Supervisor and Core's ingress proxy out of their buffered relay path into the streaming path, where an aiohttp-side error surfaces to the browser as a 502 Bad Gateway even though the addon's own nginx logs a 200. Disabling gzip on the ingress server block keeps responses identity-encoded with an intact Content-Length so the relay uses the simpler, more robust buffered path. Fixes #2766