How To Install Nginx on Ubuntu 16.04 | DigitalOcean
www.digitalocean.com › community › tutorialsApr 21, 2016 · sudo apt-get install nginx After accepting the procedure, apt-get will install Nginx and any required dependencies to your server. Step 2: Adjust the Firewall. Before we can test Nginx, we need to reconfigure our firewall software to allow access to the service. Nginx registers itself as a service with ufw, our firewall, upon installation. This makes it rather easy to allow Nginx access.