Cannot get client IP in X-Real-IP

Hello all,

I'm trying to configure Traefik to log the X-Real-IP from client. I have Traefik working behind a Google Cloud HTTP Load Balancer. I've configured the forwardedHeaders and I can see my IP inside the X-Forwarded-Proto header and the ClientHost but the X-Real-IP is not showing the client IP.

How I can get the client IP in a separate field or header?

Thank you!

3 Likes