add errros to nginx config; add env vars to vagrant