Skip to content

Instantly share code, notes, and snippets.

@joshuaebowling
Created April 24, 2017 02:13
Show Gist options
  • Save joshuaebowling/7c52f28e28490dfcf3390949fd9feae5 to your computer and use it in GitHub Desktop.
Save joshuaebowling/7c52f28e28490dfcf3390949fd9feae5 to your computer and use it in GitHub Desktop.
Install Nginx on Digital Ocean Ubuntu 16.04 and configure UFW
# source https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-16-04
sudo apt-get update
sudo apt-get install nginx
# options 'Nginx HTTP', 'Nginx HTTPS', 'Nginx Full'
sudo ufw allow 'Nginx HTTP'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment