Increase Nginx timeout in VestaCP
Increase Nginx timeout in VestaCP
Hi there, I get this error everyday:
So my question is that How can I increase Nginx timeout in VestaCP? Which file to edit?
It seems that its because my PHP script take a lot of time to run and Nginx timeout happens and can't wait for my PHP to end its execution.[error] 1330#1330: *217210 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 1.2.3.4
So my question is that How can I increase Nginx timeout in VestaCP? Which file to edit?
Re: Increase Nginx timeout in VestaCP
Try looking into Nginx error to see what's actually timing out.
It's located here: /var/log/vesta/nginx-error.log
It's located here: /var/log/vesta/nginx-error.log
Re: Increase Nginx timeout in VestaCP
Code: Select all
2020/01/25 03:09:49 [error] 1317#0: *802 FastCGI sent in stderr: "PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/in$
PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/inc/i18n.php on line 102