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

This commit is contained in:
CalvinSteenbergen 2025-11-29 12:37:32 +01:00
parent 2124c9a0de
commit 65117ac5b0

View file

@ -44,7 +44,9 @@ services:
- "traefik.enable=true" - "traefik.enable=true"
# Jouw nieuwe URL # Jouw nieuwe URL
- "traefik.http.routers.authentik.rule=Host(`authentik.stackbabber.nl`)" - "traefik.http.routers.authentik.rule=Host(`authentik.stackbabber.nl`)"
- "traefik.http.routers.authentik.entrypoints=web" - "traefik.http.routers.authentik.entrypoints=websecure"
- "traefik.http.routers.authentik.tls=true"
- "traefik.http.routers.authentik.tls.certresolver=letsencrypt"
- "traefik.http.services.authentik.loadbalancer.server.port=9000" - "traefik.http.services.authentik.loadbalancer.server.port=9000"
worker: worker: