Re: realip disabled if header contains port

2017-07-12 Thread foxgab
foxgab Wrote: --- > hello, > > i found http_realip_module doesn't work if the realip_header contains > client port. > my config is like bellow: > http { > real_ip_header X-Real-IP; > set_real_ip_from0.0.0.0/0; > server {...}

realip disabled if header contains port

2017-07-12 Thread foxgab
hello, i found http_realip_module doesn't work if the realip_header contains client port. my config is like bellow: http { real_ip_header X-Real-IP; set_real_ip_from0.0.0.0/0; server {...} } the X-Real-IP header in the request is: X-Real-IP: 123.123.123.123 but the $remote_a