1
0
Fork 0
nixfiles/hosts/web-2/milchinsel.nix

24 lines
545 B
Nix
Raw Normal View History

2022-10-17 23:03:09 +02:00
{ pkgs, ... }:
2021-01-14 14:36:20 +01:00
{
services.nginx.virtualHosts = {
"www.milchinsel.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
return = "301 https://milchinsel.de$request_uri";
};
};
"milchinsel.de" = {
enableACME = true;
forceSSL = true;
2022-10-17 23:03:09 +02:00
root = pkgs.fetchgit {
2021-01-14 14:36:20 +01:00
url = "https://git.clerie.de/clerie/milchinsel.de.git";
rev = "8ca6727902fb5a2581b56c4b3ab8d01585f3acb0";
2022-10-17 23:03:09 +02:00
sha256 = "sha256-JYdEZDLLojsgWwfJYR1riBUhs73/mdlVSOeLUgnqNhg=";
2021-01-14 14:36:20 +01:00
};
};
};
}