feat(django-apps/interludes): Allow base webapps domain

This commit is contained in:
Tom Hubrecht 2024-11-12 15:08:17 +01:00
parent d45b044b22
commit 2ffd7732ba
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc

View file

@ -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";