Updates to nginx configuration from codex, with inspiration from VVV.