Created
July 26, 2019 00:04
-
-
Save ashutoshpw/4ad45b32301a38fffbf3b2c2c9e42f5e to your computer and use it in GitHub Desktop.
Renew SSL using Certbot
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
DOMAIN_NAME="domain.com" | |
sudo certbot --authenticator standalone --installer nginx -d $DOMAIN_NAME --pre-hook "service nginx stop" --post-hook "service nginx start" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment