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

23 lines
466 B
Nix

{ ... }:
{
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";
};
};
};
}