nixpkgs/nixos/modules
danbst 50d6e93dc8 nixos/nginx: fixup permissions for Nginx state dir
The commit b0bbacb521 was a bit too fast
It did set executable bit for log files.

Also, it didn't account for other directories in state dir:
```
 # ls -la /var/spool/nginx/
total 32
drwxr-x--- 8 nginx nginx 4096 Dec 26 12:00 .
drwxr-xr-x 4 root  root  4096 Oct 10 20:24 ..
drwx------ 2 root  root  4096 Oct 10 20:24 client_body_temp
drwx------ 2 root  root  4096 Oct 10 20:24 fastcgi_temp
drwxr-x--- 2 nginx nginx 4096 Dec 26 12:00 logs
drwx------ 2 root  root  4096 Oct 10 20:24 proxy_temp
drwx------ 2 root  root  4096 Oct 10 20:24 scgi_temp
drwx------ 2 root  root  4096 Oct 10 20:24 uwsgi_temp
```

With proposed change, only ownership is changed for state files, and mode is left as is
except that statedir/logs is now group accessible.
2019-12-26 14:16:29 +02:00
..
config nixos/console: set colors using kernel parameters 2019-12-20 00:27:35 +01:00
hardware nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
i18n/input-method nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
installer nixos-generate-config: i18n.consoleFont has been renamed to console.font 2019-12-25 15:02:58 +01:00
misc nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
profiles nixos/plasma5: drop enableQt4Support option 2019-11-22 09:01:05 +01:00
programs Merge pull request #75247 from Elyhaka/sway 2019-12-21 23:48:02 +01:00
security nixos/acme: implement postRun using ExecStartPost 2019-12-19 17:39:59 +00:00
services nixos/nginx: fixup permissions for Nginx state dir 2019-12-26 14:16:29 +02:00
system nixos/systemd-nspawn: use config.systemd.package 2019-12-21 17:19:26 +01:00
tasks nixos: unify virtual console options 2019-12-20 00:27:34 +01:00
testing nixos/testing: remove leftover of virtualisation.qemu.program 2019-08-29 10:12:13 +02:00
virtualisation lxc: Fix lxc-usernet(5) man page reference in documentation 2019-12-17 15:37:36 -08:00
module-list.nix Merge pull request #75103 from sternenseemann/spacecookie 2019-12-23 11:09:52 +01:00
rename.nix rdf4store: throw removal messages 2019-12-21 18:46:15 +01:00