Page MenuHomeDevCentral

restart nginx on Ysul when renew certificates
Open, HighPublic

Description

Certbot can now execute a command after all the renewals. We could use this to restart nginx after certificate renewal:

For example, we could cron or alias this:

certbot -q renew --post-hook "/usr/local/sbin/nginx -t && /usr/local/sbin/nginx -s reload"

Event Timeline

dereckson created this task.Mar 12 2017, 19:04