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

Falko Timme

About Falko Timme

Falko Timme is an experienced Linux administrator and founder of Timme Hosting, a leading nginx business hosting company in Germany. He is one of the most active authors on HowtoForge since 2005 and one of the core developers of ISPConfig since 2000. He has also contributed to the O'Reilly book "Linux System Administration".

Share this page:

Suggested articles

2 Comment(s)

Add comment

Comments

By: Dolomats

Thanks, This saved me a lot of time.

By: Prakasa

is that solving your problem ?