nixfiles/hosts/hetzner-vm/services/nginx.nix
2021-12-31 12:09:12 +00:00

19 lines
430 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";
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}