Last active
December 30, 2016 13:41
-
-
Save mdmsua/4f39b8aab00089ac2e204746140435be to your computer and use it in GitHub Desktop.
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
curl -s http://nginx.org/keys/nginx_signing.key > /tmp/nginx.key | |
sudo apt-key add /tmp/nginx.key | |
rm /tmp/nginx.key | |
sudo apt-add-repository "deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx" | |
sudo apt-add-repository "deb-src http://nginx.org/packages/mainline/ubuntu/ xenial nginx" | |
sudo apt-get update | |
sudo apt-get install nginx letsencrypt -y | |
sudo letsencrypt certonly --standalone -d "$DOMAIN" --email "$EMAIL" --agree-tos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment