1
0
Fork 0

Add reichartstrasse.de to web-2

This commit is contained in:
clerie 2021-01-14 14:53:27 +01:00
parent 4752725b67
commit f3f27b9e5f
2 changed files with 23 additions and 0 deletions

View File

@ -12,6 +12,7 @@
./milchinsel.nix
./public.nix
./radicale.nix
./reichartstrasse.nix
./znc.nix
];

View File

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