update Traefik configuration to use websecure entrypoint and enable TLS with Let's Encrypt

This commit is contained in:
CalvinSteenbergen 2025-11-29 12:39:55 +01:00
parent 65117ac5b0
commit 74eb2992ae

View file

@ -21,7 +21,9 @@ services:
labels:
- "traefik.enable=true"
- "traefik.http.routers.traefik.rule=Host(`traefik.stackbabber.nl`)"
- "traefik.http.routers.traefik.entrypoints=web"
- "traefik.http.routers.traefik.entrypoints=websecure"
- "traefik.http.routers.traefik.tls=true"
- "traefik.http.routers.traefik.tls.certresolver=letsencrypt"
- "traefik.http.routers.traefik.service=api@internal"
- "traefik.http.routers.traefik.middlewares=authentik@file"