New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Nginx & Varnish & Apache + php-fpm - Increase timeout (How to?)

Started by DangerD2, November 09, 2019, 09:05:23 AM

Previous topic - Next topic

DangerD2

Trying to increase php script time more than 1 minute:

/etc/nginx/proxy.inc
proxy_connect_timeout 240s;
proxy_send_timeout 600;
proxy_read_timeout 600;

php.ini
max_execution_time 300
default_socket_timeout 600

But i'm keep receiving 504 Gateway timeout...
What extra setting i should change?