error 7#7: *1 upstream prematurely closed connection while reading response header from upstream

1k views Asked by At

I have just compiled php7 in a docker container, and try to serve it with ngnix (which is also in a docker container).

and using php-fpm ...

I just serve a simple php file index.php with a simple line: echo "Hello World"; for a test. In the log of docker-compose up, for the ngnix server I have the error message:

error 7#7: *1 upstream prematurely closed connection while reading response header from upstream

Why is this happening?

0

There are 0 answers