nginx php-fpm increase a timeout in new version

I setup ACME, multiple domain with DNS verification. I got nginx php-fpm timeout and can not renew my certificate anymore.
I remember that, in earlier versions I could set proxy_read_timeout and keepalive_timeout in
/usr/local/etc/nginx/nginx.conf and max execution in php.ini and got success.

However, latest versions I can not setup it. Can someone help me with this issue? How can I set this timeout?

Here is the error log:

Nov 26 12:19:52	nginx		2024/11/26 12:19:52 [error] 28830#100327: *1112 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 132.101.29.31, server: , request: "POST /acme/acme_certificates.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket", host: "mysserverhost:port", referrer: "https://mysserverhost:port/acme/acme_certificates.php"

Read more here: Source link