2016-01-28 0:49 GMT+01:00 Lukas Tribus <[email protected]>:
>> I use TCP mode, so I can't use layer 7 features.
>
> If you can't use layer 7 features then you can't access the
> CF-Connecting-IP header in nginx.

...HAProxy, not Nginx, no ?


> I would suggest:
> - leave the haproxy configuration as is (using proxy protocol towards
>    nginx)
> - configure nginx to respect the CF-Connecting-IP header as per [1]

I did that.

Otherwise that would be nice to be able pass client IP address as an
argument to send-proxy directive.
Example: send-proxy hdr_ip(x-forwarded-for)

-- 
Jonathan Leroy
http://www.inikup.com/
Tel: +33 (0)9 74 77 41 72

Reply via email to