redirect http -> https at traefik entrypoint
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
d733ad7890
commit
ae8fc4f872
1 file changed
+3
@@ -44,6 +44,9 @@ services:
|
|||||||
- --providers.swarm.constraints=Label(`traefik.constraint-label`, `public`)
|
- --providers.swarm.constraints=Label(`traefik.constraint-label`, `public`)
|
||||||
- --providers.swarm.exposedByDefault=false
|
- --providers.swarm.exposedByDefault=false
|
||||||
- --entrypoints.web.address=:80
|
- --entrypoints.web.address=:80
|
||||||
|
- --entrypoints.web.http.redirections.entrypoint.to=websecure
|
||||||
|
- --entrypoints.web.http.redirections.entrypoint.scheme=https
|
||||||
|
- --entrypoints.web.http.redirections.entrypoint.permanent=true
|
||||||
- --entrypoints.websecure.address=:443
|
- --entrypoints.websecure.address=:443
|
||||||
- --certificatesresolvers.le.acme.email=t4t-gateway@proton.me
|
- --certificatesresolvers.le.acme.email=t4t-gateway@proton.me
|
||||||
- --certificatesresolvers.le.acme.storage=/certificates/acme.json
|
- --certificatesresolvers.le.acme.storage=/certificates/acme.json
|
||||||
|
|||||||
Reference in new issue
Block a user