Add global HTTP to HTTPS redirect
Some checks failed
Deploy Stacks / deploy-prod (push) Failing after 1s
Deploy Stacks / deploy-dev (push) Has been cancelled

All HTTP traffic now redirects to HTTPS at the entrypoint level,
eliminating the need for per-service redirect middleware.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-04 10:11:32 -05:00
parent a4dfbc715f
commit c5e416d31c

View File

@@ -10,6 +10,11 @@ entryPoints:
address: ":80" address: ":80"
proxyProtocol: proxyProtocol:
insecure: true insecure: true
http:
redirections:
entryPoint:
to: https
scheme: https
https: https:
address: ":443" address: ":443"
proxyProtocol: proxyProtocol: