Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

Force client IP with PROXY protocol (4 replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 5112

Trending Articles