Usar dirección interna del outpost Authentik para forwardauth
This commit is contained in:
@@ -27,8 +27,8 @@ services:
|
||||
# Service (puerto interno del contenedor)
|
||||
- "traefik.http.services.amigos-nucleoriofrio-service.loadbalancer.server.port=3001"
|
||||
|
||||
# Middleware de autenticación ESPECÍFICO para amigos-app
|
||||
- "traefik.http.middlewares.amigos-authentik.forwardauth.address=https://lvl0.nucleoriofrio.com/outpost.goauthentik.io/auth/traefik"
|
||||
# Middleware de autenticación ESPECÍFICO para amigos-app (usando nombre del contenedor)
|
||||
- "traefik.http.middlewares.amigos-authentik.forwardauth.address=http://ak-outpost-lvl0:9000/outpost.goauthentik.io/auth/traefik"
|
||||
- "traefik.http.middlewares.amigos-authentik.forwardauth.trustForwardHeader=true"
|
||||
- "traefik.http.middlewares.amigos-authentik.forwardauth.authResponseHeaders=X-authentik-username,X-authentik-email,X-authentik-name,X-authentik-uid,X-authentik-groups,X-authentik-entitlements,Set-Cookie"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user