I\'m trying to set Magento2 on Docker with Nginx & PHP7.
I\'ve added a custom php.ini file as recommended by the PHP7 Docker image. I can see from phpinfo.php t
i think you have to reload the nginx config. i dont know which OS your php container uses, but try inside of the container some of these:
# /etc/init.d/nginx restart
# service nginx restart
# nginx -s reload
my logical reason is, that you install php ( and start it at the same time ) and after all you copy the new config.