400 bad request
Jim Ohlstein
jim.ohlstein at gmail.com
Sun Jun 14 03:16:22 MSD 2009
snacktime wrote:
> Well I figured out exactly what causes this after getting someone that had the errors to install the firefox livehttpheaders plugin. It's the cookie size. Cookie too large, nginx returns a 400 and doesn't log it. Unfortunately there isn't much we can do about the cookie size. With the fb connect iframe stuff there are other parties setting cookies on our domain.
>
> I tried in the past upping some buffers because I thought this might possibly be an issue, but it didn't help.
Which buffers did you set?
> Maybe I set the wrong ones. What specific setting can I use to allow large cookie headers?
>
You probably need to adjust client_header_buffer_size and
large_client_header_buffers.
See http://wiki.nginx.org/NginxHttpCoreModule#client_header_buffer_size
and http://wiki.nginx.org/NginxHttpCoreModule#large_client_header_buffers./
/
Jim
More information about the nginx
mailing list