Skip to content

Instantly share code, notes, and snippets.

@afrokick
Last active March 13, 2019 15:00
Show Gist options
  • Save afrokick/ff4890a34c71e96707f6d331e04e1eb6 to your computer and use it in GitHub Desktop.
Save afrokick/ff4890a34c71e96707f6d331e04e1eb6 to your computer and use it in GitHub Desktop.
It is a list of commands for install nginx + Letsencrypt
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y
sudo apt-get install -y nginx && sudo apt-get install -y software-properties-common && sudo apt-get install -y python-certbot-nginx
sudo certbot --nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment