From 30930c4136b797359b28b3a925649d128ca8eac9 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 22 Jul 2025 19:26:44 +0200 Subject: [PATCH] Fixed empty canonicals --- roles/web-app-libretranslate/config/main.yml | 3 ++- roles/web-app-pretix/config/main.yml | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/roles/web-app-libretranslate/config/main.yml b/roles/web-app-libretranslate/config/main.yml index 2a418a36..1745367c 100644 --- a/roles/web-app-libretranslate/config/main.yml +++ b/roles/web-app-libretranslate/config/main.yml @@ -22,7 +22,8 @@ csp: whitelist: {} # URL's which should be whitelisted flags: {} # Flags which should be set domains: - canonical: {} # Urls under which the domain should be directly accessible + canonical: + - "libretranslate.{{ primary_domain }}" aliases: [] # Alias redirections to the first element of the canonical domains rbac: roles: {} diff --git a/roles/web-app-pretix/config/main.yml b/roles/web-app-pretix/config/main.yml index 9c2a86ed..7a957e2a 100644 --- a/roles/web-app-pretix/config/main.yml +++ b/roles/web-app-pretix/config/main.yml @@ -18,11 +18,12 @@ features: oauth2: false # Enable the OAuth2-Proy javascript: false # Enables the custom JS in the javascript.js.j2 file universal_logout: true -csp: - whitelist: {} # URL's which should be whitelisted - flags: {} # Flags which should be set +csp: + whitelist: {} # URL's which should be whitelisted + flags: {} # Flags which should be set domains: - canonical: {} # Urls under which the domain should be directly accessible + canonical: + - "pretix.{{ primary_domain }}" aliases: [] # Alias redirections to the first element of the canonical domains rbac: roles: {}