Get real user IP from behind the CDN

When I’ve connect app to domain I start receive incorrect users IP by GetRequestHeader block on backend. All of them from Holland and Austria. I guess these are CDN IP. How can I get real user’s IP to location management?

Which header are you using? X-Real-Ip?

Снимок экрана 2024-05-29 в 22.38.26

Take a look at this doc from Cloudflare

As far as I know, we correctly supply x-real-ip and x-forwarded-for headers to determine real IP addresses of clients. If no - let us know we will investigate.

Setting the value x-forwarded-for helped, it worked

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.