﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
155	ngx_http_realip_module bug	Lele Li	somebody	"  we use ngx_http_realip_module ,but we can't get the real ip address when the nginx receive http header like this :
X-Forwarded-For: 10.18.18.18, 120.196.208.118
the ngx_http_realip_module  event didn't work ,it don't change the client ip address

  when we send nginx two or three X-Forwarded-For like this:

GET / HTTP/1.1
Host: text.test.com
Accept-Encoding: gzip,deflate
Cookie: vt=3; ustat=a774e85f181eb0b70d6dbcb40184f246
Accept-Language: zh-cn
Accept-Charset: x-gbk,utf-8;q=0.7,*;q=0.7
Cache-Control: max-age=0
x-forwarded-for: 10.18.18.18
X-Forwarded-For: 120.196.208.118
X-Forwarded-For: 221.179.192.111
Connection: close

it use the first x-forwarded-for change the client ip but not the last one.

 "	defect	closed	critical		nginx-module	1.0.x	duplicate	real ip		2.6.18-164.el5 	nginx version: nginx/0.8.55
