Thank for your support.
① Did this command can renew all certs installed inside my VPS? or only one cert one time. My VPS install domainA and domainB and Let's Encrypt for each domain as well.
Follow your advice, i change my crontab to
30 2 * * 1 /opt/letsencrypt/letsencrypt-auto renew --pre-hook "service nginx stop" --post-hook "service nginx start" >> /var/log/le-renew.log
It will take 30 days to test so I will feedback later
② Thank you so much for recommend this feature. Previous, my crontab is
28 2 * * 1 service nginx stop
30 2 * * 1 /opt/letsencrypt/letsencrypt-auto renew >> /var/log/le-renew.log && service nginx reload
I'm trying to avoid using it cause this will stop webserver whether certs are renewed or not. So, --pre-hook and --post-hook wil stop&start webserver only when need to renew certs.
③ Thank you for warning --renew-by-default. It will trigger rate limit (5 certs in 7 days). I will not use it anymore
Last but not least, THANK YOU SO MUCH