Compare commits
2 commits
e6d22c1063
...
629f8f02d7
Author | SHA1 | Date | |
---|---|---|---|
|
629f8f02d7 | ||
|
d1cb03f213 |
2 changed files with 12 additions and 1 deletions
|
@ -22,6 +22,11 @@ in {
|
||||||
# only allow PFS-enabled ciphers with AES256
|
# only allow PFS-enabled ciphers with AES256
|
||||||
sslCiphers = "AES256+EECDH:AES256+EDH:!aNULL";
|
sslCiphers = "AES256+EECDH:AES256+EDH:!aNULL";
|
||||||
|
|
||||||
|
# disable access logs
|
||||||
|
commonHttpConfig= ''
|
||||||
|
access_log off;
|
||||||
|
'';
|
||||||
|
|
||||||
# setup a default site
|
# setup a default site
|
||||||
virtualHosts.default = {
|
virtualHosts.default = {
|
||||||
default = lib.mkDefault true;
|
default = lib.mkDefault true;
|
||||||
|
|
|
@ -6,7 +6,13 @@
|
||||||
settings.PasswordAuthentication = false;
|
settings.PasswordAuthentication = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
journald.extraConfig = "SystemMaxUse=100M";
|
journald = {
|
||||||
|
storage = "volatile";
|
||||||
|
extraConfig = ''
|
||||||
|
SystemMaxUse=100M
|
||||||
|
MaxRetentionSec=1d
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
|
|
Loading…
Reference in a new issue