Redirect cvpetegem.be to chvp.be as well now that I've actually got a personal website

This commit is contained in:
Charlotte Van Petegem 2022-11-04 21:30:27 +01:00
parent 078782a60e
commit 2e7067b71b
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

@ -108,14 +108,20 @@
{ fqdn = "www.vanpetegem.me"; } { fqdn = "www.vanpetegem.me"; }
{ {
fqdn = "cvpetegem.be"; 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"; fqdn = "chvp.be";
options.locations."/".return = "307 https://www.chvp.be$request_uri"; 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; nextcloud.enable = true;
syncthing.enable = true; syncthing.enable = true;