1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

nixos/nginx: reload on acme cert renewal

This commit is contained in:
Franz Pletz 2016-07-19 15:34:15 +02:00 committed by Robin Gloster
parent 8d317336ef
commit a3ec0f1593
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -394,6 +394,9 @@ in
optionalAttrs vhostConfig.enableACME {
webroot = vhostConfig.acmeRoot;
extraDomains = genAttrs vhostConfig.serverAliases (alias: null);
postRun = ''
systemctl reload nginx
'';
}
) virtualHosts
);