how can I get client's real IP behind F5

Igor Sysoev is at rambler-co.ru
Mon Sep 7 17:20:27 MSD 2009


On Mon, Sep 07, 2009 at 07:00:36PM +0800, wuzhez wrote:

> Hi all,
> I use F5 for load balance, and how can I get client's Real IP, I had
> tried the NginxHttpRealIpModule, but it doesn't work.
> And my log format: $remote_addr - $remote_user [$time_local] "$request" '
> '$status $body_bytes_sent "$http_referer" '
> '"$http_user_agent" '

You should configure adding "X-Forwarded-For" header on F5 and
set "real_ip_header X-Forwarded-For";


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list