nginx auto apeend "@@@Accept-Encoding:gzip" in request url

Yu Sun lists at ruby-forum.com
Thu Oct 22 06:56:08 MSD 2009


Igor Sysoev wrote:
> On Wed, Oct 21, 2009 at 12:55:06PM +0200, Yu Sun wrote:
> 
>> 2009/10/21 18:43:52 [error] 22635#0: *8700 open()
>> built by gcc 4.1.2 20071124 (Red Hat 4.1.2-42)
>>   large_client_header_buffers 4 32k;
>>   proxy_intercept_errors  on;
>>   fastcgi_read_timeout 300;
>>   gzip_types       text/plain application/x-javascript text/css
>> 
>> 
>> Is this a bug or just a misconfiguration error?
> 
> In error_log message the request field is a client's original request 
> line,
> so this "GET /zhuanti/i30china/index.php@@@Accept-Encoding:gzip 
> HTTP/1.0"
> is what nginx was asked for. It was not added by nginx itself.

Yes, this is not caused by nginx.
I added a rewrite rule and fix it without finding why:
rewrite ^(.*)@@@Accept-Encoding:gzip$  $1;
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list