diff --git a/modules/nixos/dgn-web.nix b/modules/nixos/dgn-web.nix index ca99a67..cfc9682 100644 --- a/modules/nixos/dgn-web.nix +++ b/modules/nixos/dgn-web.nix @@ -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;