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

This commit is contained in:
Tom Hubrecht 2024-12-10 15:53:06 +01:00 committed by thubrecht
parent e0cf11276d
commit b23312dcaa

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;