Merge pull request #76533 from danbst/nginx-correct-dir-mode

nixos/nginx: fixup permissions for Nginx state dir
This commit is contained in:
Florian Klink 2019-12-26 13:53:39 +01:00 committed by GitHub
commit c9a80e782d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -671,7 +671,7 @@ in
systemd.tmpfiles.rules = [
"d '${cfg.stateDir}' 0750 ${cfg.user} ${cfg.group} - -"
"d '${cfg.stateDir}/logs' 0750 ${cfg.user} ${cfg.group} - -"
"Z '${cfg.stateDir}/logs' 0750 ${cfg.user} ${cfg.group} - -"
"Z '${cfg.stateDir}' - ${cfg.user} ${cfg.group} - -"
];
systemd.services.nginx = {