From 2e7067b71bd75b033a625ef97605dcac6ce652c2 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Fri, 4 Nov 2022 21:30:27 +0100 Subject: [PATCH] Redirect cvpetegem.be to chvp.be as well now that I've actually got a personal website --- machines/lasting-integrity/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/machines/lasting-integrity/default.nix b/machines/lasting-integrity/default.nix index 24362175..840f0b98 100644 --- a/machines/lasting-integrity/default.nix +++ b/machines/lasting-integrity/default.nix @@ -108,14 +108,20 @@ { fqdn = "www.vanpetegem.me"; } { fqdn = "cvpetegem.be"; - options.locations."/".return = "307 https://www.cvpetegem.be$request_uri"; + options.locations."/".return = "307 https://www.chvp.be$request_uri"; + } + { + fqdn = "www.cvpetegem.be"; + options.locations."/".return = "307 https://www.chvp.be$request_uri"; } - { fqdn = "www.cvpetegem.be"; } { fqdn = "chvp.be"; options.locations."/".return = "307 https://www.chvp.be$request_uri"; } - { fqdn = "www.chvp.be"; options.root = pkgs."www.chvp.be"; } + { + fqdn = "www.chvp.be"; + options.root = pkgs."www.chvp.be"; + } ]; nextcloud.enable = true; syncthing.enable = true;