Move personal website to marabethia

This commit is contained in:
Charlotte Van Petegem 2024-11-10 18:32:44 +01:00
parent c89aea8af2
commit e5740af04b
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 27 additions and 24 deletions

View file

@ -77,11 +77,6 @@
mastodon.enable = true;
matrix.enable = true;
nginx.hosts = [
{
fqdn = "vanpetegem.be";
options.locations."/".return = "307 https://www.vanpetegem.be$request_uri";
}
{ fqdn = "www.vanpetegem.be"; }
{
fqdn = "vanpetegem.me";
options = {
@ -113,25 +108,6 @@
};
}
{ fqdn = "www.vanpetegem.me"; }
{
fqdn = "cvpetegem.be";
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 = "chvp.be";
options.locations = {
"/".return = "307 https://www.chvp.be$request_uri";
"/phd/register".return = "307 https://nextcloud.vanpetegem.me/apps/forms/s/PrWYKWkwgwA7naE3ryRwmfcd";
};
}
{
fqdn = "www.chvp.be";
options.root = pkgs."www.chvp.be";
}
];
nextcloud.enable = true;
};

View file

@ -37,5 +37,32 @@
particles.server = true;
tetris.server = true;
};
services = {
nginx.hosts = [
{
fqdn = "cvpetegem.be";
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 = "chvp.be";
options.locations = {
"/".return = "307 https://www.chvp.be$request_uri";
};
}
{
fqdn = "www.chvp.be";
options.root = pkgs."www.chvp.be";
}
{
fqdn = "vanpetegem.be";
options.locations."/".return = "307 https://www.vanpetegem.be$request_uri";
}
{ fqdn = "www.vanpetegem.be"; }
];
};
};
}