Load config into authelia

This commit is contained in:
Colin Hebert
2023-01-10 15:23:31 +01:00
parent 4f387906c5
commit 5f7a6f4a6c
2 changed files with 18 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ http:
middlewares:
authelia:
forwardAuth:
address: 'http://authelia:9091/api/verify?rd=https%3A%2F%2Fauthelia.{{ ( env "NASCOMPOSE_TRAEFIK_DOMAINS" | split "," )._0 }}%2F'
address: 'http://authelia:9091/api/verify?rd=https%3A%2F%2Fauthelia.{{ env `NASCOMPOSE_TRAEFIK_DOMAINS` | split `,` | first }}%2F'
trustForwardHeader: true
authResponseHeaders:
- Remote-User