Answer the question
In order to leave comments, you need to log in
How to fix a problem with docker?
I start docker, I get an error like:
nginx_1 | 2019/04/06 17:16:49 [emerg] 1#1: host not found in upstream "php" in /etc/nginx/conf.d/default.conf:20
nginx_1 | nginx: [emerg] host not found in upstream "php" in /etc/nginx/conf.d/default.conf:20
Answer the question
In order to leave comments, you need to log in
Written same - incorrect nginx configuration file
Probable reason: another container is specified as upstream. And it did not start or crashed at the time of nginx startup
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question