502 errors, upstream sent too big header

Maxim Dounin mdounin at mdounin.ru
Mon May 2 22:57:03 MSD 2011


Hello!

On Mon, May 02, 2011 at 06:08:24AM +0200, Mike P. wrote:

> Hi,
> 
> I'm getting this same error (please see log output below) with
> Nginx(0.8.54) and Passenger(3.0.6) using GET requests with really long
> URIs.
> 
> My assumption is that fastcgi_buffer* directives won't apply to my
> configuration since the request is being handled by passenger instead of
> a php/perl fastcgi socket.

You have to tune appropriate settings provided by passenger 
module.  Please refer to passenger documentation for exact names, 
most likely passenger_buffer_size and so on.

[...]

Maxim Dounin



More information about the nginx mailing list