Working nginx config

Tested on Ubuntu 14.04 (AWS)

Credits: @chtombleson