2021-12-28 22:06:26 +00:00
|
|
|
{ ... }: {
|
2021-12-28 21:42:46 +00:00
|
|
|
security.acme = {
|
2021-12-31 12:53:52 +00:00
|
|
|
defaults = { email = "chaoticryptidz@owo.monster"; };
|
2021-12-28 21:42:46 +00:00
|
|
|
acceptTerms = true;
|
|
|
|
};
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
recommendedGzipSettings = true;
|
|
|
|
recommendedOptimisation = true;
|
|
|
|
recommendedProxySettings = true;
|
|
|
|
recommendedTlsSettings = true;
|
|
|
|
commonHttpConfig = "";
|
|
|
|
clientMaxBodySize = "512m";
|
2022-01-01 17:28:16 +00:00
|
|
|
serverNamesHashBucketSize = 1024;
|
2021-12-28 21:42:46 +00:00
|
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
2021-12-28 22:06:26 +00:00
|
|
|
}
|