mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/nginx: use list for logrotate files attribute
This allows for easier extensibility.
This commit is contained in:
parent
b37bbeb14f
commit
ef92d48263
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue