Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

Francis Daly francis at daoine.org
Mon Jan 9 09:22:29 UTC 2023


On Sat, Jan 07, 2023 at 08:28:17AM +0530, Kaushal Shriyan wrote:

Hi there,

> Thanks Francis for the detailed explanation. Is there a way to configure
> Nginx for the below conditions?

I think, indirectly, yes.

If you want your nginx to react to some external status (e.g., the
up-or-down state of a MySQL DB), then you need to indicate how your
nginx will become aware of that status.

(For what it's worth: if there is nothing new in your system since
November / December, the suggestion remains "change your php to do this".)

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list