1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/nixos/modules/services/web-servers/nginx
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
..
default.nix nixos/nginx: move configuration testing script into reload command 2020-08-12 18:13:29 +02:00
gitweb.nix nixos/nginx/gitweb: add some (crucial) options 2020-01-14 00:11:10 +00:00
location-options.nix nixos/nginx: drop extra semicolon in return example (#76055) 2019-12-19 21:59:01 +02:00
vhost-options.nix improved nginx.basicAuthFile description 2019-12-03 14:05:46 +01:00