upstream sent too big header while reading response header from upstream

Maxim Dounin mdounin at mdounin.ru
Thu Feb 6 17:18:19 UTC 2014


Hello!

On Thu, Feb 06, 2014 at 09:11:31AM -0800, Jeroen Ooms wrote:

> On Thu, Feb 6, 2014 at 4:18 AM, Maxim Dounin <mdounin at mdounin.ru> wrote
> >
> > Response headers should fit into proxy_buffer_size, see
> > http://nginx.org/r/proxy_buffer_size.  If they don't, the error
> > is reported.
> 
> 
> In which the "size" refers to the number of characters that appear up
> till the blank line that separates the headers from the body in the
> response? It looks like it would be around 4k. So perhaps I'll
> increase proxy_buffer_size to 8k.

Yes.

> Is it also necessary to increase modify proxy_busy_buffers_size and
> proxy_buffers to deal with responses with many headers?

No.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list