Hi Clemence, If I were you, I would ask HAProxy to forward client IP address in an header named differently than X-Forwarded-For, something like "X-Client-IP". Then configure you nginx to log the IP found in X-Client-IP and you're done.
Baptiste
Hi Clemence, If I were you, I would ask HAProxy to forward client IP address in an header named differently than X-Forwarded-For, something like "X-Client-IP". Then configure you nginx to log the IP found in X-Client-IP and you're done.
Baptiste