K
K
Kirill Kontorovich2019-04-06 20:18:10
Nginx
Kirill Kontorovich, 2019-04-06 20:18:10

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

I don't understand what is the problem

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Georg Gaal, 2019-04-07
@gecube

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 question

Ask a Question

731 491 924 answers to any question