Make sure variable names align, fix template

This commit is contained in:
3wc 2021-11-23 12:22:22 +02:00
parent 556c448c05
commit 59b0f8d645
3 changed files with 3 additions and 3 deletions

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