From Dev.to
Nginx in Docker: Fix host not found in upstream
Your nginx container exits a second after it starts, and docker logs shows nginx: [emerg] host not found in upstream "app" in /etc/nginx/conf.d/default.conf:4. nginx looks up every hostname in proxy_p...
