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