Last active
September 6, 2018 06:14
-
-
Save RobDWaller/924a99e9298c1d0799e1d68ad31a1460 to your computer and use it in GitHub Desktop.
Command for Certbot Nginx
This file contains 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
sudo certbot --authenticator webroot --installer nginx | |
# Cron Job | |
10 9,16 * * * sudo /bin/certbot renew --quiet && sudo systemctl restart nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment