-
-
Save zitooon/119eec99443db74b13b6 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
sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt | |
sudo service nginx stop | |
cd /opt/letsencrypt | |
./letsencrypt-auto certonly --standalone -d example.com -d www.example.com | |
ssl on; | |
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; | |
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment