forked from DGNum/infrastructure
feat(dj-apps/ernestophone): Switch to production
This commit is contained in:
parent
31e3aabc8f
commit
3085d9e3a8
2 changed files with 13 additions and 2 deletions
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
11
machines/nixos/web03/redirections.nix
Normal file
11
machines/nixos/web03/redirections.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue