Update 2: enable-real-ip
seems to do the trick ConfigMap - Ingress-Nginx Controller
Did a test setting enable-real-ip: "true"
in the config map and I am able to see the real client IP.
I use this debug container Docker, you can have a try BEFORE / AFTER altering the config-map, X-Forwarded-For IP value should be the client one.
If everything is ok, I will add this advanced settings.
I am also not sure why your app doesn’t get al the headers, hence, can you try with the test container I shared?
Thanks !