1
0

Move clerie.de to web-2

This commit is contained in:
clerie 2021-01-23 13:27:43 +01:00
parent 7337e2100b
commit a29b9c648a
2 changed files with 23 additions and 0 deletions

22
hosts/web-2/clerie.nix Normal file
View File

@ -0,0 +1,22 @@
{ ... }:
{
services.nginx.virtualHosts = {
"www.clerie.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
return = "301 https://clerie.de$request_uri";
};
};
"clerie.de" = {
enableACME = true;
forceSSL = true;
root = fetchGit {
url = "https://git.clerie.de/clerie/clerie.de.git";
rev = "7fbb8042100fde4a8524eec656519eb8b48ae68a";
};
};
};
}

View File

@ -6,6 +6,7 @@
./hardware-configuration.nix ./hardware-configuration.nix
../../configuration/common ../../configuration/common
./bubblesort.nix ./bubblesort.nix
./clerie.nix
./gitea.nix ./gitea.nix
./ip.nix ./ip.nix
./meow.nix ./meow.nix