1
0

Add milchinsel.de to web-2

This commit is contained in:
clerie 2021-01-14 14:36:20 +01:00
parent 1bb0450f6f
commit 4752725b67
2 changed files with 23 additions and 0 deletions

View File

@ -9,6 +9,7 @@
./gitea.nix ./gitea.nix
./ip.nix ./ip.nix
./meow.nix ./meow.nix
./milchinsel.nix
./public.nix ./public.nix
./radicale.nix ./radicale.nix
./znc.nix ./znc.nix

View File

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