upstream sent too big header while reading response header from upstream

Jeroen Ooms jeroen.ooms at
Thu Feb 6 17:11:31 UTC 2014

On Thu, Feb 6, 2014 at 4:18 AM, Maxim Dounin <mdounin at> wrote
> Response headers should fit into proxy_buffer_size, see
>  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.

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

More information about the nginx mailing list