pvv-nixos-config/services/nginx/default.nix
System administrator 344530e810 Update option names
2022-09-08 17:42:54 +02:00

20 lines
356 B
Nix

{config, ... }:
{
security.acme = {
acceptTerms = true;
defaults.email = "danio@pvv.ntnu.no";
};
services.nginx = {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}