Answer the question
In order to leave comments, you need to log in
How to fix docker container application error?
2019/03/01 11:44:32 [error] 6#6: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.18.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://172.18.0.4:9000", host: "127.0.0.1"
Answer the question
In order to leave comments, you need to log in
I found a solution, if anyone has problems, just follow the documentation https://help.ubuntu.ru/wiki/nginx-phpfpm. The webserver may throw such an error "no input file specified" . In this case, you need to make sure that the nginx and php-fpm directories are the same, root var/www in the nginx config, on the machine, nginx and php-fpm must match
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question