nixos/roles/nginx.nix
2024-12-18 18:19:37 -06:00

18 lines
351 B
Nix

{
services.nginx = {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
};
security.acme = {
acceptTerms = true;
defaults.email = "nolan@thewordnerd.info";
};
networking.firewall.allowedTCPPorts = [
80
443
];
}