Reputation: 2290
I'm running a script that will require some time to run I'm getting this error when trying to run it
504 Gateway Time-out - nginx
these are the values updated on my php.ini
max_input_time = 6000
max_execution_time = 60000
memory_limit = 256M
as i read and understand the problems resides with "FcgidIOTimeout" which i need to update on "/etc/httpd/conf.d/fcgid.conf" problem is i don't have an "httpd" folder , and on /etc/appche2/conf.d/there is no fcgid.conf
I do have "fastcgi.conf" under /etc/nginx/fastcgi.conf but updating FcgidIOTimeout there and restarting Apache didn't help me.
what can i do ?
Upvotes: 1
Views: 5052
Reputation: 42899
Try adding this to your nginx block
fastcgi_read_timeout 60000; # or whatever number you need
Upvotes: 1