Hi,
I have the current setup: HAProxy with send-proxy -> Nginx with
proxy_protocol directive.
Everything works fine, Nginx retrieve original client IP from HAProxy
using PROXY protocol.
Now, I need to add CloudFlare in front HAProxy.
CloudFlare return a "CF-Connecting-IP" containing client IP address. I
know how to retrieve this header value, but not how to force it to be
sent as client ip in the PROXY header sent to Nginx.
Any ideas?
--
Jonathan Leroy
http://www.inikup.com/
Tel: +33 (0)9 74 77 41 72
I have the current setup: HAProxy with send-proxy -> Nginx with
proxy_protocol directive.
Everything works fine, Nginx retrieve original client IP from HAProxy
using PROXY protocol.
Now, I need to add CloudFlare in front HAProxy.
CloudFlare return a "CF-Connecting-IP" containing client IP address. I
know how to retrieve this header value, but not how to force it to be
sent as client ip in the PROXY header sent to Nginx.
Any ideas?
--
Jonathan Leroy
http://www.inikup.com/
Tel: +33 (0)9 74 77 41 72