From 86c1018dc892bd5173e03184cfe29721d75c14a3 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Sun, 1 Sep 2024 15:48:35 +0200 Subject: [PATCH] fix(web01): Add a redirection from bds.ens.fr/gestion2 to its new location --- machines/web01/wordpress/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/machines/web01/wordpress/default.nix b/machines/web01/wordpress/default.nix index 2b976ed..e8f02ef 100644 --- a/machines/web01/wordpress/default.nix +++ b/machines/web01/wordpress/default.nix @@ -53,4 +53,6 @@ in }; dgn-backups.jobs.containers.settings.paths = [ "/var/lib/nixos-containers" ]; + + services.nginx.virtualHosts."bds.ens.fr".locations."/gestion2".return = "301 https://gestion.bds.ens.fr"; }