Set some useful nginx options globally
This commit is contained in:
parent
6e60e839bb
commit
9a7f0a7700
@ -38,6 +38,14 @@
|
|||||||
services.openssh.challengeResponseAuthentication = false;
|
services.openssh.challengeResponseAuthentication = false;
|
||||||
services.openssh.permitRootLogin = lib.mkDefault "no";
|
services.openssh.permitRootLogin = lib.mkDefault "no";
|
||||||
|
|
||||||
|
services.nginx = {
|
||||||
|
enableReload = true;
|
||||||
|
recommendedGzipSettings = true;
|
||||||
|
recommendedOptimisation = true;
|
||||||
|
recommendedProxySettings = true;
|
||||||
|
recommendedTlsSettings = true;
|
||||||
|
};
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
email = "letsencrypt@clerie.de";
|
email = "letsencrypt@clerie.de";
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user