Hi! I Use
HA-Proxy version 1.5.12 2015/05/02
.
Need add in http package option X-Real-IP.  X-Real-IP should be equal 
X-Forwarded-For. X-Forwarded-For be in package.
I tried

    frontend http-in
        bind *:4016
        default_backend servers
        mode http
        option httplog
        log global
       capture cookie SERVERID len 32
       capture request header Host len 15
       capture request header X-Forwarded-For len 15
       capture request header Referrer len 15
       capture response header Content-length len 9
       capture response header Location len 15
       http-request set-header X-Client-IP req.hdr_ip([X-Forwarded-For])]

not help. Help me pls. 


Reply via email to