I installed images of nginx and php via docker
docker run --name dphp -v $PWD/php:/app php:7.0-fpm
docker run --name dngx -p 80:80 \
--link dphp:phpdomain \
-v $PWD/php-web-server.conf:/etc/nginx/nginx.conf \
--volumes-from dphp \
nginx
< hr >
after executing . / go.sh
, use curl localhost
to access. Both nginx and php receive requests, but why a blank is returned