Files
smb-online/backoffice/app
mivanchenko 3ab3a6a4f4
Test backoffice (smb-crm) / test (push) Successful in 1m32s
Trust Caddy as a proxy in Waitress so forwarded headers reach Flask
Root cause of the ICS-link-uses-http bug (#22): Caddy was already
sending X-Forwarded-Proto/-Host/-For correctly (confirmed via the
Caddy admin API's compiled route config), but Waitress strips
untrusted X-Forwarded-* headers by default before they ever reach
the WSGI environ -- so the earlier ProxyFix middleware had nothing
to read. This was the actual fix; ProxyFix was necessary but not
sufficient.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-12 00:12:04 +02:00
..