From 2ffd7732badf439f427950056e30e5a77c4d1b11 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Tue, 12 Nov 2024 15:08:17 +0100 Subject: [PATCH] feat(django-apps/interludes): Allow base webapps domain --- machines/web03/django-apps/interludes.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/machines/web03/django-apps/interludes.nix b/machines/web03/django-apps/interludes.nix index 5dc6dbe..f7a52aa 100644 --- a/machines/web03/django-apps/interludes.nix +++ b/machines/web03/django-apps/interludes.nix @@ -18,6 +18,8 @@ in nginx = { enableACME = true; forceSSL = true; + + serverAliases = [ "interludes.webapps.dgnum.eu" ]; }; webHookSecret = builtins.toFile "insecure-secret" "T5hNeDraMivRZLUkrekv&QeM"; @@ -46,7 +48,10 @@ in }; environment = { - INTERLUDES_ALLOWED_HOSTS = [ "interludes.ens.fr" ]; + INTERLUDES_ALLOWED_HOSTS = [ + "interludes.ens.fr" + "interludes.webapps.dgnum.eu" + ]; # E-mail configuration INTERLUDES_SERVER_EMAIL = "noreply-interludes-admin@ens.fr";