forked from coop-cloud/traefik
Align traefik-forward-auth 2nd var name with existing
This commit is contained in:
parent
26fcaaea69
commit
556c448c05
@ -53,6 +53,7 @@ COMPOSE_FILE="compose.yml"
|
||||
#KEYCLOAK_MIDDLEWARE_ENABLED=1
|
||||
#KEYCLOAK_TFA_SERVICE=traefik-forward-auth_app
|
||||
#KEYCLOAK_MIDDLEWARE_2_ENABLED=1
|
||||
#KEYCLOAK_TFA_SERVICE_2=traefik-forward-auth_app
|
||||
|
||||
#####################################################################
|
||||
# Prometheus metrics #
|
||||
|
@ -12,7 +12,7 @@ http:
|
||||
{{ if eq (env "KEYCLOAK_MIDDLEWARE_2_ENABLED") "1" }}
|
||||
keycloak2:
|
||||
forwardAuth:
|
||||
address: "http://${KEYCLOAK_MIDDLEWARE_2_SERVICE}:4181"
|
||||
address: "http://${KEYCLOAK_TFA_SERVICE_2}:4181"
|
||||
trustForwardHeader: true
|
||||
authResponseHeaders:
|
||||
- X-Forwarded-User
|
||||
|
Loading…
Reference in New Issue
Block a user