upstream sent too big header.
hunreal at gmail.com
Tue Sep 4 21:49:44 MSD 2007
proxy_buffers 64 8k; is not work for me.
The error detail is "upstream sent too big header while reading
response header from upstream". I don't know how to repeat this
problem, but sometimes. I think it is cause by setcookie, not sure
I made a test, use PHP to setcookie for more than 1k header. After add
"large_client_header_buffers 4 8k;", it work fine, but not for solve
"upstream sent too big header while reading response header from
On 9/4/07, Denis F. Latypoff <denis at gostats.ru> wrote:
> Hello hshh,
> Tuesday, September 4, 2007, 4:59:20 PM, you wrote:
> > Hi all,
> > I am running Nginx with PHP. In some case, there is large header
> > included big cookie sent from client to server, and I got 502 Gateway
> > error. After checked nginx-error.log, it said "upstream sent too big
> > header".
> > How can I adjust header size for fastcgi?
> > I tried setting client_header_buffer_size 4k; not work, tried
> > large_client_header_buffers 4 8k; fastcgi_buffer_size 4k;
> > proxy_buffer_size 4k; not work either.
> try proxy_buffers 64 8k;
> Best regards,
> Denis mailto:denis at gostats.ru
More information about the nginx