mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
nixos/nginx: fix comment about acme postRun not running as root
As of 67a5d66
this is no longer true, since acme postRun runs as root.
The idea of the service is good so reword a comment a bit.
This commit is contained in:
parent
7423afb5e4
commit
16b0f07890
@ -867,8 +867,9 @@ in
|
||||
source = configFile;
|
||||
};
|
||||
|
||||
# postRun hooks on cert renew can't be used to restart Nginx since renewal
|
||||
# runs as the unprivileged acme user. sslTargets are added to wantedBy + before
|
||||
# This service waits for all certificates to be available
|
||||
# before reloading nginx configuration.
|
||||
# sslTargets are added to wantedBy + before
|
||||
# which allows the acme-finished-$cert.target to signify the successful updating
|
||||
# of certs end-to-end.
|
||||
systemd.services.nginx-config-reload = let
|
||||
|
Loading…
Reference in New Issue
Block a user