diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2016-07-19 15:34:15 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-10-09 12:55:24 +0200 |
commit | a3ec0f1593b508e259bb20b3fe185f0f397e41c0 (patch) | |
tree | 356dd7b778b65fcab52c5c1c5310542d15ff24c1 /nixos | |
parent | 8d317336ef8d492e0d875f4d6d00357ccc01a393 (diff) | |
download | nixlib-a3ec0f1593b508e259bb20b3fe185f0f397e41c0.tar nixlib-a3ec0f1593b508e259bb20b3fe185f0f397e41c0.tar.gz nixlib-a3ec0f1593b508e259bb20b3fe185f0f397e41c0.tar.bz2 nixlib-a3ec0f1593b508e259bb20b3fe185f0f397e41c0.tar.lz nixlib-a3ec0f1593b508e259bb20b3fe185f0f397e41c0.tar.xz nixlib-a3ec0f1593b508e259bb20b3fe185f0f397e41c0.tar.zst nixlib-a3ec0f1593b508e259bb20b3fe185f0f397e41c0.zip |
nixos/nginx: reload on acme cert renewal
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/web-servers/nginx/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/web-servers/nginx/default.nix b/nixos/modules/services/web-servers/nginx/default.nix index 443bd8c10000..7b822619a2f0 100644 --- a/nixos/modules/services/web-servers/nginx/default.nix +++ b/nixos/modules/services/web-servers/nginx/default.nix @@ -394,6 +394,9 @@ in optionalAttrs vhostConfig.enableACME { webroot = vhostConfig.acmeRoot; extraDomains = genAttrs vhostConfig.serverAliases (alias: null); + postRun = '' + systemctl reload nginx + ''; } ) virtualHosts ); |