Florian Klink 300049ca51 nixos/nginx: move configuration testing script into reload command
nginx -t not only verifies configuration, but also creates (and chowns)
files. When the `nginx-config-reload` service is used, this can cause
directories to be chowned to `root`, causing nginx to fail.

This moves the nginx -t command into a second ExecReload command, which
runs as nginx's user. While fixing above issue, this will also cause the
configuration to be verified when running `systemctl reload nginx`, not
only when restarting the dummy `nginx-config-reload` unit. The latter is
mostly a workaround for missing features in our activation script
anyways.
2020-08-12 18:13:29 +02:00
..
2019-10-12 22:25:28 +02:00
2020-08-08 10:54:16 +10:00
2019-07-03 08:59:42 +02:00
2020-07-17 19:46:56 +03:00
2020-07-24 11:04:33 +02:00
2019-11-13 23:18:47 +00:00