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

HowTo: Fix/Change Nginx Timeouts (Nginx + PHP-FPM)

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
botonakis
Posts: 3
Joined: Mon Dec 03, 2018 11:44 am

Os: CentOS 6x
Web: nginx + php-fpm
HowTo: Fix/Change Nginx Timeouts (Nginx + PHP-FPM)
  • Quote

Post by botonakis » Mon Dec 03, 2018 11:51 am

Login using SSH:
Then enter:

Code: Select all

cd /etc/nginx/conf.d/
Then enter:

Code: Select all

printf "fastcgi_read_timeout 300;\nfastcgi_buffer_size 128k;\nfastcgi_buffers 8 128k;" > fastcgi.conf
This will create a file called: fastcgi.conf and will add three lines:
fastcgi_read_timeout 300;
fastcgi_buffer_size 128k;
fastcgi_buffers 8 128k;

Now you need to restart NGinx.
So enter the following:

Code: Select all

service nginx restart
Top


Post Reply
  • Print view
1 post • 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
 

 

cron

Login  •  Register

I forgot my password