fix nginx to work out of the box