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

18 lines
346 B
Nix
Raw Normal View History

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