mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
nixos/nginx: reload on acme cert renewal
This commit is contained in:
parent
8d317336ef
commit
a3ec0f1593
@ -394,6 +394,9 @@ in
|
||||
optionalAttrs vhostConfig.enableACME {
|
||||
webroot = vhostConfig.acmeRoot;
|
||||
extraDomains = genAttrs vhostConfig.serverAliases (alias: null);
|
||||
postRun = ''
|
||||
systemctl reload nginx
|
||||
'';
|
||||
}
|
||||
) virtualHosts
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user