feat(dgn-web): Add yearly logrotate for nginx
This commit is contained in:
parent
e0cf11276d
commit
b23312dcaa
1 changed files with 3 additions and 0 deletions
|
@ -110,6 +110,9 @@ in
|
|||
|
||||
dgn-web.internalPorts = mapAttrs (_: getAttr "port") cfg.simpleProxies;
|
||||
|
||||
# Keep logs during 1 year (53 weeks)
|
||||
services.logrotate.settings.nginx.rotate = 53;
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue