nixos-config/hosts/falkenstein-1/modules/nginx/default.nix

19 lines
397 B
Nix

{ ... }:
{
networking.firewall.allowedTCPPorts = [ 80 443 ];
services.nginx = {
enable = true;
recommendedTlsSettings = true;
recommendedProxySettings = true;
recommendedGzipSettings = true;
recommendedZstdSettings = true;
recommendedOptimisation = true;
};
security.acme = {
acceptTerms = true;
defaults = {
email = "rouven@rfive.de";
};
};
}