5 messages in ru.sysoev.nginxRe: 502 Bad Gateway w/ Large Headers
FromSent OnAttachments
Clint PriestOct 23, 2008 8:35 am 
Igor SysoevOct 23, 2008 8:41 am 
Clint PriestOct 23, 2008 10:15 am 
Clint PriestOct 23, 2008 11:14 am 
Igor SysoevOct 23, 2008 1:11 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: 502 Bad Gateway w/ Large HeadersActions...
From:Igor Sysoev (is@rambler-co.ru)
Date:Oct 23, 2008 8:41:17 am
List:ru.sysoev.nginx

On Thu, Oct 23, 2008 at 10:36:11AM -0500, Clint Priest wrote:

I'm trying out this software FirePHP which is an out-of-band error logging that works with PHP and Firebug.

With nginx setup as a load balancer, whenever large headers are being passed back (from FirePHP) it causes nginx to send back a 502 Bad Gateway message.

Here are the headers being sent (I received these by going around the load balancer directly to the web server behind nginx).

If you use proxying, then try something like

proxy_buffer_size 16k; # this is for header and first body part proxy_buffers 4 16k;