Restart nginx after renewing the Let's Encrypt cert
This commit is contained in:
parent
691a0e5533
commit
ad4200e558
@ -18,5 +18,5 @@ end
|
|||||||
cron "renew Let's Encrypt certificates" do
|
cron "renew Let's Encrypt certificates" do
|
||||||
minute "*"
|
minute "*"
|
||||||
hour "4"
|
hour "4"
|
||||||
command "/usr/local/letsencrypt/letsencrypt-auto renew && service nginx reload"
|
command "/usr/local/letsencrypt/letsencrypt-auto renew && service nginx restart"
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user