nginx error log

Igor Sysoev is at
Fri Jan 12 21:35:12 MSK 2007

On Fri, 12 Jan 2007, Igor Sysoev wrote:

> On Fri, 12 Jan 2007, Jeremy Hubert wrote:
>> I'm also seeing the following a fair bit, which I've never seen in an error 
>> log. Do you have any idea what it could be?
>> client sent invalid header line: "~~~~~~~~~~~~~~~: ~~~~~~~~~~~~" while 
>> reading client request headers
> Some proxies mask some headers, e.g. "Referer", X-Forwarded-For",
> this line may be
> "~~~~~~~~~~~~~~~: ~~~~~~~~~~~~"
> "X-Forwarded-For: ............"

By default nginx ignores such headers and logs the message, but it
may silently pass them to backend if

     ignore_invalid_headers  off;

Igor Sysoev

More information about the nginx mailing list