1
0
Fork 0

Global nginx and letsencrypt config

This commit is contained in:
clerie 2022-07-11 22:37:42 +02:00
parent 6712d8d9d8
commit c653e9e127
1 changed files with 11 additions and 0 deletions

View File

@ -72,5 +72,16 @@
permitRootLogin = "yes";
};
security.acme.acceptTerms = true;
security.acme.defaults.email = "vcp-letsencrypt@clerie.de";
services.nginx = {
enable = true;
clientMaxBodySize = "400M";
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
};
security.sudo.wheelNeedsPassword = false;
}