LoutreOS: keep default logrotate config
This commit is contained in:
parent
be051f67d3
commit
349d25b201
@ -92,20 +92,8 @@ in
|
|||||||
|
|
||||||
# redis.enable = true;
|
# redis.enable = true;
|
||||||
|
|
||||||
logrotate = {
|
# enable with nginx defult config
|
||||||
enable = true;
|
logrotate.enable = true;
|
||||||
paths = {
|
|
||||||
nginx = {
|
|
||||||
path = "/var/log/nginx/*.log";
|
|
||||||
user = config.services.nginx.user;
|
|
||||||
group = config.services.nginx.group;
|
|
||||||
keep = 7;
|
|
||||||
extraConfig = ''
|
|
||||||
compress
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
fail2ban.enable = true;
|
fail2ban.enable = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user