updates to nginx config and deploy script