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

21 lines
357 B
Nix
Raw Normal View History

2022-12-17 21:51:43 +01:00
{config, ... }:
{
security.acme = {
acceptTerms = true;
2022-12-17 22:00:57 +01:00
defaults.email = "drift@pvv.ntnu.no";
2022-12-17 21:51:43 +01:00
};
services.nginx = {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}