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

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Thu, 2011-08-04 08:27. :: Errors

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

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:

/etc/init.d/nginx restart


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.