Last active
November 16, 2019 03:45
-
-
Save thanhson1085/17a511ca19254f45a0463678f08afb16 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://dl.eff.org/certbot-auto | |
chmod +x certbot-auto | |
mv certbot-auto /usr/bin/certbot | |
certbot -d [domain] | |
crontab -e | |
0 5 * * 1 /usr/bin/certbot -q renew --post-hook "systemctl reload nginx" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment