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