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
);