2023-05-05 23:43:40 +02:00
|
|
|
{ ... }:
|
2023-04-12 17:21:24 +02:00
|
|
|
{
|
|
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
2023-05-05 23:43:40 +02:00
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
recommendedTlsSettings = true;
|
|
|
|
recommendedProxySettings = true;
|
|
|
|
recommendedGzipSettings = true;
|
|
|
|
recommendedOptimisation = true;
|
2023-05-30 13:45:51 +02:00
|
|
|
|
2023-05-24 16:37:45 +02:00
|
|
|
virtualHosts."rfive.de" = {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
};
|
2023-05-05 23:43:40 +02:00
|
|
|
};
|
2023-04-12 17:21:24 +02:00
|
|
|
security.acme = {
|
|
|
|
acceptTerms = true;
|
|
|
|
defaults = {
|
|
|
|
email = "rouven@rfive.de";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|