diff options
-rw-r--r-- | modules/apps/nginx.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/apps/nginx.nix b/modules/apps/nginx.nix index 7965c8d..5d1102e 100644 --- a/modules/apps/nginx.nix +++ b/modules/apps/nginx.nix @@ -163,6 +163,7 @@ in { nixsap.apps.logrotate.conf.nginx = mkIf enabled { files = [ "${cfg.logDir}/*.log" ]; directives = { + su = "${cfg.user} ${cfg.user}"; delaycompress = mkDefault true; missingok = mkDefault true; notifempty = mkDefault true; |