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

24 lines
565 B
Nix
Raw Permalink Normal View History

2022-10-17 23:03:09 +02:00
{ pkgs, ... }:
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;
2022-10-17 23:03:09 +02:00
root = pkgs.fetchgit {
2021-01-14 14:53:27 +01:00
url = "https://git.clerie.de/clerie/reichartstrasse.de.git";
rev = "377e27d8a8d4b701fa7da072d3f3e68925c5f274";
2022-10-17 23:03:09 +02:00
sha256 = "sha256-eOljD7TsSmE8LpNd/3kKAPBLvNVpED7FN9++srOALOU=";
2021-01-14 14:53:27 +01:00
};
};
};
}