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

View File

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