mirror of
https://github.com/penpot/penpot.git
synced 2026-08-14 16:58:35 +00:00
The global `proxy_set_header Host $http_host;` forwarded the client-facing Host to internal proxy_pass calls (backend/exporter), breaking mTLS routing in service-mesh setups (e.g. Istio STRICT mode), which match outbound requests to a cluster based on Host/:authority. Explicitly set `Host $proxy_host` on /api, /assets, /api/export, /readyz and /ws/notifications so these calls always target the correct internal service host, independent of the client's original Host header. Fixes #10835 Signed-off-by: Sebastien MALOT <sebastien.malot@pm.gouv.fr> Co-authored-by: Sebastien MALOT <sebastien.malot@pm.gouv.fr>