feat(dgn-web): Add yearly logrotate for nginx #185

Merged
thubrecht merged 1 commit from logrotate into main 2024-12-11 14:45:33 +01:00

View file

@ -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;