Docker - nginx: host not found in upstream
问题 I download official docker packages, and then I set docker-compose. Everything compiles OK, but if I get docker-compose up , I got this error message: project-websrv | 2017/09/22 10:18:35 [emerg] 1#1: host not found in upstream "php-fpm" in /etc/nginx/conf.d/default.conf:25 project-websrv | nginx: [emerg] host not found in upstream "php-fpm" in /etc/nginx/conf.d/default.conf:25 project-php exited with code 0 nginx.conf line 25: fastcgi_pass php-fpm:9000; my docker-compose.yml version: "3.1"