Skip to content

Instantly share code, notes, and snippets.

@RobDWaller
Last active September 6, 2018 06:14
Show Gist options
  • Save RobDWaller/924a99e9298c1d0799e1d68ad31a1460 to your computer and use it in GitHub Desktop.
Save RobDWaller/924a99e9298c1d0799e1d68ad31a1460 to your computer and use it in GitHub Desktop.
Command for Certbot Nginx
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