Created
March 9, 2025 19:35
-
-
Save mbredikhin/0b5a1f5ab62959d21be3a3d621c75bb6 to your computer and use it in GitHub Desktop.
Add letsencrypt cert with autorenewal everyday at 3:00 AM
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
| sudo certbot --nginx -d yourdomain.com | |
| sudo crontab -e | |
| 0 3 * * * certbot renew --quiet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment