pvv-nixos-config/services/nginx/default.nix

20 lines
356 B
Nix
Raw Normal View History

{config, ... }:
{
2022-09-08 17:42:54 +02:00
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 ];
}