hcloud-cloud-controller-manager
hcloud-cloud-controller-manager copied to clipboard
Get X-Real-IP header from Load Balancer
It seems load balancer does not respect X-Real-Ip and X-Forwarded-For headers and always getting LB ip into those values.
There is a way to pass it through?
Hey @jaumecornado,
i guess your service is a raw TCP service or? You could try to set the load-balancer.hetzner.cloud/protocol annotation to http/(https). Link to FAQ: https://docs.hetzner.com/cloud/load-balancers/faq/#do-load-balancers-forward-special-http-headers
With proxprotocol works perfectly. Added load-balancer.hetzner.cloud/uses-proxyprotocol: "true" to fix