nixpkgs/nixos/modules/services/web-servers
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
..
apache-httpd nixos/apache-httpd: fix typo in extraConfig description 2019-12-06 21:47:15 +03:00
hitch treewide: Switch to system users 2019-10-12 22:25:28 +02:00
jboss JBoss AS: list known vulnerability 2017-03-13 18:45:19 +01:00
lighttpd Merge staging-next into staging 2019-07-03 08:59:42 +02:00
nginx nixos/nginx: fixup permissions for Nginx state dir 2019-12-26 14:16:29 +02:00
phpfpm nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
unit nixos/unit: update preStart script 2019-12-12 17:59:10 +03:00
varnish nixos/varnish: fix default package name 2019-11-13 16:39:45 +01:00
caddy.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
darkhttpd.nix nixos/darkhttpd: fix package reference 2019-08-28 09:04:58 +08:00
fcgiwrap.nix
hydron.nix nixos/hydron: replace deprecated usage of PermissionsStartOnly 2019-05-25 08:38:15 -04:00
meguca.nix nixos/meguca: Add videoPaths, set postgresql version to 11 2019-03-23 01:19:29 -05:00
mighttpd2.nix nixos/mighttpd2: /var/run -> /run 2019-03-24 21:15:33 +01:00
minio.nix nixos/minio: replace deprecated usage of PermissionsStartOnly 2019-04-13 07:00:56 -04:00
shellinabox.nix
tomcat.nix nixos/tomcat: add purifyOnStart option 2018-10-29 18:26:22 +07:00
traefik.nix treewide: Switch to system users 2019-10-12 22:25:28 +02:00
ttyd.nix nixos/ttyd: init 2019-11-13 23:18:47 +00:00
uwsgi.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
zope2.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00