0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

nixos/nginx: use list for logrotate files attribute (#345537)

This commit is contained in:
Tristan Ross 2024-10-28 19:47:12 -07:00 committed by GitHub
commit c47159b10e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1374,7 +1374,7 @@ in
];
services.logrotate.settings.nginx = mapAttrs (_: mkDefault) {
files = "/var/log/nginx/*.log";
files = [ "/var/log/nginx/*.log" ];
frequency = "weekly";
su = "${cfg.user} ${cfg.group}";
rotate = 26;