locally it doesn't actually use the nginx.conf or the web.main node
8080 is the default http port, so you don't actually need to include the port locally. If you want your application to run on 8080 in production you also wouldn't need to include nginx if you didn't want to.
also, I noticed that your start command in production in yarn run dev . for dry-run (and production) you'll want to run in production. So you should probably just do yarn run (which is just calls a node start )