Install Nginx 1.6 on Ubuntu 14.04 Trusty


If you are missing the command add-apt-repository, have a look here.

To install Nginx then on Ubuntu, run these as root:

add-apt-repository ppa:nginx/stable
apt-get update
apt-get install nginx