Fix Nginx config for Nginx 1.4.x
Merge pull request #192 from oohlaf/fixes

Fix Nginx config for Nginx 1.4.x