NGINX setup

We were hardcoding the nginx directory.
This didn't work across all platforms, specifically mac.

This should now do it (hopefully).

Nginx is becoming more important now we are using CORS on discussion / identity.

![Engine X](http://iruntheinternet.com/lulzdump/images/gifs/thomas-the-tank-engine-disgusted-1350682905K.gif)