I installed Ubuntu 15.04 on my Raspberry Pi 2 Model B using this image built by mrengles. I personally prefer Ubuntu over the default Raspbian Wheezy simply because their packages are more stable and up-to-date. However still, the ports.ubuntu.com repo has an older version of Nginx (1.6.2). To install the newest Nginx 1.8.0 stable, you will either have to build it from source or install a binary prebuilt by someone. After some googling, I found it here.
Add the ppa repository:
sudo add-apt-repository ppa:teward/nginx-stable-testing
You will see this message:
Staging PPA for nginx/stable PPA. This contains all builds for the Stable PPA. Good builds, bad builds, and old builds. Please do not use this PPA unless you really know what you're doing. More info: https://launchpad.net/~teward/+archive/ubuntu/nginx-stable-testing Press [ENTER] to continue or ctrl-c to cancel adding it
Follow the instruction and press [ENTER].
Go ahead and perform the normal
apt-get update and
sudo apt-get update sudo apt-get install nginx
You may edit the settings from
/etc/nginx/sites-available/default as required. Then start Nginx normally:
sudo service nginx start
Open your browser to see if that works.