Refactor Traefik configuration for Authentik

Updated Traefik router rules and added new callback for www.thehomelesssherlock.com.
This commit is contained in:
2025-12-18 11:03:54 +01:00
committed by Eduardo David Paredes Vara
parent 43c24b4b86
commit 8246bff8a1

View File

@@ -79,6 +79,14 @@ services:
traefik.http.routers.authentik-outpost-gitea.service: "authentik"
traefik.http.routers.authentik-outpost-gitea.priority: "50"
# ✅ CORRECCIÓN: Callback del outpost para tu WEB (www.thehomelesssherlock.com)
traefik.http.routers.authentik-outpost-ths.rule: "Host(`${THS_DOMAIN}`) && PathPrefix(`/outpost.goauthentik.io/`)"
traefik.http.routers.authentik-outpost-ths.entrypoints: "${TRAEFIK_ENTRYPOINT_SECURE}"
traefik.http.routers.authentik-outpost-ths.tls: "true"
traefik.http.routers.authentik-outpost-ths.tls.certresolver: "${TRAEFIK_CERTRESOLVER}"
traefik.http.routers.authentik-outpost-ths.service: "authentik"
traefik.http.routers.authentik-outpost-ths.priority: "250"
authentik-worker:
image: ${AUTHENTIK_IMAGE}
container_name: authentik-worker