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 upstream sent too big header on NGINX

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
guiditoito
Posts: 8
Joined: Tue Apr 14, 2020 1:52 am

Os: CentOS 6x
Web: apache + nginx
HOWTO: Fix upstream sent too big header on NGINX
  • Quote

Post by guiditoito » Wed May 20, 2020 2:31 pm

Finally after searching a lot I found how to fix that error you get on some wordpress sites while uploading new plugins, backups, etc.
Everywhere says you need to increase proxy_buffers on nginx. Maybe it helps but it certainly doesn't fix the issue.

If you have NGINX + PHP-FPM like me you need to have this on your /etc/nginx/fastcgi_params

This is a directive that goes under location / so you can't just put it on nginx.conf under http. With this you make sure it's enabled on all sites.

Code: Select all

fastcgi_buffers 16 16k;
fastcgi_buffer_size 256k;
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
 

 

Login  •  Register

I forgot my password