Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Increase Nginx timeout in VestaCP

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
tom256
Posts: 24
Joined: Sun Sep 16, 2018 3:51 pm

Os: Ubuntu 15x
Web: apache + nginx
Increase Nginx timeout in VestaCP
  • Quote

Post by tom256 » Sun Feb 02, 2020 12:21 pm

Hi there, I get this error everyday:
[error] 1330#1330: *217210 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 1.2.3.4
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.
So my question is that How can I increase Nginx timeout in VestaCP? Which file to edit?
Top

exclu254
Posts: 44
Joined: Mon Dec 23, 2019 6:44 pm

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: Increase Nginx timeout in VestaCP
  • Quote

Post by exclu254 » Sun Feb 02, 2020 3:20 pm

Try looking into Nginx error to see what's actually timing out.

It's located here: /var/log/vesta/nginx-error.log
Top

tom256
Posts: 24
Joined: Sun Sep 16, 2018 3:51 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: Increase Nginx timeout in VestaCP
  • Quote

Post by tom256 » Sat Feb 29, 2020 6:28 pm

exclu254 wrote: ↑
Sun Feb 02, 2020 3:20 pm
Try looking into Nginx error to see what's actually timing out.

It's located here: /var/log/vesta/nginx-error.log

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
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password