nixfiles/hosts/hetzner-vm/services/nginx.nix
ChaotiCryptidz 91a99a631c run statix
2022-02-10 10:37:09 +00:00

18 lines
452 B
Nix

_: {
security.acme = {
defaults = { email = "chaoticryptidz@owo.monster"; };
acceptTerms = true;
};
services.nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
commonHttpConfig = "";
clientMaxBodySize = "512m";
serverNamesHashBucketSize = 1024;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}