infra/modules/kubernetes/reverse_proxy
Viktor Barzin f03b8a055b [ci skip] Fix rewrite-body plugin corrupting compressed responses
The packruler/rewrite-body plugin (used for rybbit analytics injection)
fails to decompress gzip responses with "flate: corrupt input before
offset 5", corrupting the response body. This broke HA Companion app's
external_auth flow and WebSocket connections on ha-sofia.

Fix: add a strip-accept-encoding middleware that removes Accept-Encoding
from requests when rybbit is active, forcing backends to send uncompressed
responses that the plugin can safely process.

Also add extra_middlewares variable to reverse_proxy factory for
extensibility.
2026-02-11 21:40:11 +00:00
..
factory [ci skip] Fix rewrite-body plugin corrupting compressed responses 2026-02-11 21:40:11 +00:00
main.tf Add Docker registry UI and tag cleanup automation 2026-02-07 22:38:15 +00:00