Working nginx config

Testing on Ubuntu 14.04 (AWS)

Credit to https://github.com/chtombleson