upstream sent too big header.

Denis F. Latypoff denis at gostats.ru
Tue Sep 4 14:11:23 MSD 2007


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 mailing list