NGINX: Setting Different FastCGI Read Timeouts for Folders
- by Hart Jones
I have a PHP file in my /batch/ folder I run with an hourly CRON job. Unfortunately this process can often take a few minutes to complete so I have had to increase my fastcgi_read_timeout to 300 seconds for the entire server.
I was wondering if it would be possible to change the fastcgi_read_timeout directive for only files in my /batch/ folder…