feat(dj-apps/ernestophone): Switch to production

This commit is contained in:
sinavir 2024-12-20 16:45:53 +01:00
parent 31e3aabc8f
commit 3085d9e3a8
No known key found for this signature in database
2 changed files with 13 additions and 2 deletions

View file

@ -17,7 +17,7 @@ in
services.django-apps.sites.ernestophone = {
source = "https://git.dgnum.eu/DGNum/ernestophone.ens.fr";
branch = "update";
domain = "beta.ernestophone.fr";
domain = "ernestophone.ens.fr";
nginx = {
enableACME = true;
@ -59,7 +59,7 @@ in
environment = {
DJANGO_SETTINGS_MODULE = "Ernestophone.settings";
ERNESTOPHONE_ALLOWED_HOSTS = [ "beta.ernestophone.fr" ];
ERNESTOPHONE_ALLOWED_HOSTS = [ "ernestophone.ens.fr" ];
};
};
}

View file

@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: 2024 Maurice Debray <maurice.debray@dgnum.eu>
#
# SPDX-License-Identifier: EUPL-1.2
{
dgn-redirections = {
permanent = {
"www.ernestophone.ens.fr" = "ernestophone.ens.fr";
};
};
}