nixfiles/hosts/hetzner-vm/services/nginx.nix
2021-12-28 22:06:26 +00:00

17 lines
404 B
Nix

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