diff --git a/machines/nixos/web03/django-apps/ernestophone.nix b/machines/nixos/web03/django-apps/ernestophone.nix index 44aea80..062e914 100644 --- a/machines/nixos/web03/django-apps/ernestophone.nix +++ b/machines/nixos/web03/django-apps/ernestophone.nix @@ -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" ]; }; }; } diff --git a/machines/nixos/web03/redirections.nix b/machines/nixos/web03/redirections.nix new file mode 100644 index 0000000..f680f3d --- /dev/null +++ b/machines/nixos/web03/redirections.nix @@ -0,0 +1,11 @@ +# SPDX-FileCopyrightText: 2024 Maurice Debray +# +# SPDX-License-Identifier: EUPL-1.2 + +{ + dgn-redirections = { + permanent = { + "www.ernestophone.ens.fr" = "ernestophone.ens.fr"; + }; + }; +}