nginx - upstream sent too big header while reading response header from upstream

On this page

  1. Solution

You get the following error in the nginx log:

upstream sent too big header while reading response header from upstream
 

Solution

Modify your nginx configuration and change/set the following directives:

proxy_buffer_size   128k;
proxy_buffers   4 256k;
proxy_busy_buffers_size   256k;

Restart nginx afterwards:

service nginx restart
Share this page:

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Dolomats

Thanks, This saved me a lot of time.

By: Prakasa

is that solving your problem ?

By: biforme

In my case fastcgi_buffers 16 16k; and fastcgi_buffer_size 32k; has solved.