1
0
nixfiles/hosts/web-2/ard-erothek.nix

23 lines
466 B
Nix
Raw Normal View History

2021-04-30 23:36:26 +02:00
{ ... }:
{
services.nginx.virtualHosts = {
"www.ard-erothek.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
return = "301 https://ard-erothek.de$request_uri";
};
};
"ard-erothek.de" = {
enableACME = true;
forceSSL = true;
root = fetchGit {
url = "https://git.clerie.de/clerie/ard-erothek.de.git";
rev = "f030a96a1be550e600e029bf1addd009a89edcce";
};
};
};
}