1
0
nixfiles/hosts/web-2/reichartstrasse.nix

24 lines
506 B
Nix
Raw Normal View History

2021-01-14 14:53:27 +01:00
{ ... }:
{
services.nginx.virtualHosts = {
"www.reichartstrasse.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
return = "301 https://reichartstrasse.de$request_uri";
};
};
"reichartstrasse.de" = {
enableACME = true;
forceSSL = true;
root = fetchGit {
url = "https://git.clerie.de/clerie/reichartstrasse.de.git";
2021-12-12 13:35:13 +01:00
ref = "master";
2021-01-14 14:53:27 +01:00
rev = "377e27d8a8d4b701fa7da072d3f3e68925c5f274";
};
};
};
}