Prepare master to deploy with NGINX and thin