502 bad gateway, something about the header?

Igor Sysoev is at rambler-co.ru
Sun Sep 6 15:50:13 MSD 2009


On Sun, Sep 06, 2009 at 12:17:18PM +0100, Nuno Magalh??es wrote:

> Sorry for the slight highjack. I have a similar issue[1][2], and tried:
>         fastcgi_buffer_size  16k;
>         fastcgi_buffers      16  16k;
> on my nginx.conf. I also tried:
>         fastcgi_buffer_size  4k;
>         fastcgi_buffers      64  16k;
> and:
>         fastcgi_buffer_size  16k;
>         fastcgi_buffers      64  16k;
> I still get both 200 and 502, alternated, at regular intervals. My
> pagesize is 4K on an amd64, can i tune these values to something more
> suitable? Running 0.8.10 for the moment.
> 
> Thanks
> 
> [1] http://forum.nginx.org/read.php?2,5260
> [2] http://forum.nginx.org/read.php?2,5587

You should look in error_log for reasons of 502s.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list