certbot renew nginzx code example
Example 1: letsencrypt auto renew nginx
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
0 */12 * * * root certbot -q renew --nginx
Example 2: nginx letsencrypt
sudo certbot renew
sudo service nginx restart