mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
nixos/nginx: use list for logrotate files attribute
This allows for easier extensibility.
This commit is contained in:
parent
b37bbeb14f
commit
ef92d48263
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user