When the environment is set to dev, the setup utility isn't prompting the user for some needed values, namely DOMAIN, and therefore, nginx.conf isn't getting properly setup.
So server_name {{DOMAIN}}; is getting set to server_name ; and therefore nginx fails to start.
When the environment is set to dev, the setup utility isn't prompting the user for some needed values, namely DOMAIN, and therefore, nginx.conf isn't getting properly setup.
So
server_name {{DOMAIN}};
is getting set toserver_name ;
and therefore nginx fails to start.