upstream sent too big header.

hshh hunreal at gmail.com
Tue Sep 4 13:59:20 MSD 2007


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.





More information about the nginx mailing list