Add milchinsel.de to web-2
This commit is contained in:
parent
1bb0450f6f
commit
4752725b67
@ -9,6 +9,7 @@
|
||||
./gitea.nix
|
||||
./ip.nix
|
||||
./meow.nix
|
||||
./milchinsel.nix
|
||||
./public.nix
|
||||
./radicale.nix
|
||||
./znc.nix
|
||||
|
22
hosts/web-2/milchinsel.nix
Normal file
22
hosts/web-2/milchinsel.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user