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?