Nginx config template fix for hosting multiple rails application