Actually fixed 'deploy' phase this time, and added basic auth to nginx config