Server - php-fpm To request other network resources, do you need to go through nginx?
迷茫
迷茫 2017-05-16 17:09:40
0
1
504

The question is the same as the title.
In order to avoid the x-y problem, let’s talk about the original problem:

We have a local verification service. There is no problem in calling this service directly through the php script process. However, calling the php process through the page and then calling the verification service, the php process will receive a 504 response. Error, but the nginx of the verification service has no relevant logs.

Since there is no log, I think it is not a problem with the verification service nginx, but where did the 504 report come from? Please ask God to clear up the confusion.

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(1)
迷茫

Solved.
php-fpm requests network resources without nginx;

The company configuration is uniformly forwarded through nginx, and 504 is reported by nginx for business forwarding.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template