Increasing nginx/php-fpm timeout?
-
I'm getting "504 Gateway Timeout" error [1] every time I open /status_dhcp_leases.php page. It's huge and processing it takes more than the 60 sec default timeout. Is there a way to increase it?
[1]
[error] 79173#100259: *85909 upstream timed out (60: Operation timed out) while reading response header from upstream, client: x.x.x.x, server: , request: "GET /status_dhcp_leases.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket"
TIA
-
@maliaga See if this thread helps.