2021-01-23 13:27:43 +01:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.nginx.virtualHosts = {
|
|
|
|
"www.clerie.de" = {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
locations."/" = {
|
|
|
|
return = "301 https://clerie.de$request_uri";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
"clerie.de" = {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
root = fetchGit {
|
|
|
|
url = "https://git.clerie.de/clerie/clerie.de.git";
|
2021-12-12 13:35:13 +01:00
|
|
|
ref = "main";
|
2021-01-23 13:27:43 +01:00
|
|
|
rev = "7fbb8042100fde4a8524eec656519eb8b48ae68a";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|