Fix crash: correct Waitress param name (clear_untrusted_proxy_headers)
Test backoffice (smb-crm) / test (push) Successful in 1m36s

clear_untrusted isn't a real Adjustments option -- caused the previous
deploy to crash-loop smb-crm. The real option, clear_untrusted_proxy_headers,
already defaults to True, so it doesn't need to be passed at all.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-12 00:15:41 +02:00
parent 3ab3a6a4f4
commit 4eed7fb204
+1 -2
View File
@@ -422,5 +422,4 @@ if __name__ == "__main__":
# only thing that can dial us at all is Caddy on the shared `proxy` # only thing that can dial us at all is Caddy on the shared `proxy`
# Docker network -- trusting "*" here doesn't widen who can reach us. # Docker network -- trusting "*" here doesn't widen who can reach us.
serve(app, host="0.0.0.0", port=8080, trusted_proxy="*", serve(app, host="0.0.0.0", port=8080, trusted_proxy="*",
trusted_proxy_headers={"x-forwarded-for", "x-forwarded-proto", "x-forwarded-host"}, trusted_proxy_headers={"x-forwarded-for", "x-forwarded-proto", "x-forwarded-host"})
clear_untrusted=True)