From dea7cca91c8a6fcc9d36b45106c62be64bb30627 Mon Sep 17 00:00:00 2001 From: Viren070 Date: Tue, 8 Apr 2025 22:58:37 +0100 Subject: [PATCH] fix(authelia): use the `TEMPLATE_AUTHELIA_SUBDOMAIN` env var in the template config --- data/authelia/config/configuration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/authelia/config/configuration.yml b/data/authelia/config/configuration.yml index b858a00..c691c2e 100644 --- a/data/authelia/config/configuration.yml +++ b/data/authelia/config/configuration.yml @@ -840,7 +840,7 @@ session: ## - The above 'domain' option MUST either: ## - Match the host portion of this URI. ## - Match the suffix of the host portion when prefixed with '.'. - authelia_url: 'https://auth.{{ env "TEMPLATE_DOMAIN" }}' + authelia_url: 'https://{{ env "TEMPLATE_AUTHELIA_SUBDOMAIN" }}.{{ env "TEMPLATE_DOMAIN" }}' ## Optional. The fully qualified URI used as the redirection location if the portal is accessed directly. Not ## configuring this option disables the automatic redirection behaviour.