Add a slot for a second traefik-forward-auth #31

Merged
3wordchant merged 3 commits from forward-auth-2 into master 2021-11-24 15:10:55 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 59b0f8d645 - Show all commits

View File

@ -1,3 +1,3 @@
export TRAEFIK_YML_VERSION=v12
export FILE_PROVIDER_YML_VERSION=v3
export FILE_PROVIDER_YML_VERSION=v6
export ENTRYPOINT_VERSION=v2

View File

@ -10,4 +10,4 @@ services:
- KEYCLOAK_MIDDLEWARE_ENABLED
- KEYCLOAK_TFA_SERVICE
- KEYCLOAK_MIDDLEWARE_2_ENABLED
- KEYCLOAK_MIDDLEWARE_2_SERVICE
- KEYCLOAK_TFA_SERVICE_2

View File

@ -12,7 +12,7 @@ http:
{{ if eq (env "KEYCLOAK_MIDDLEWARE_2_ENABLED") "1" }}
keycloak2:
forwardAuth:
address: "http://${KEYCLOAK_TFA_SERVICE_2}:4181"
address: "http://{{ env "KEYCLOAK_TFA_SERVICE_2" }}:4181"
trustForwardHeader: true
authResponseHeaders:
- X-Forwarded-User