cloudflare hiding visitor real ip

Why does cloudflare hides the customer real ip with one of theres and how can i still get the customers ip
4 Replies
Chaika
Chaika•2y ago
👋 They don't hide it on purpose, it's just how Proxies work, they handle the visitor's request and make another to your origin (which has to be from their own IPs). You can get their Real IP in the CF-Connecting-IP Header: https://developers.cloudflare.com/support/troubleshooting/restoring-visitor-ips/restoring-original-visitor-ips/
Restoring original visitor IPs · Cloudflare Support docs
When your website traffic is routed through the Cloudflare network , we act as a reverse proxy. This allows Cloudflare to speed up page load time by …
DyLn
DyLnOP•2y ago
How can i configure that with nginx
Chaika
Chaika•2y ago
check that link, there's a section for nginx. There's lots of other guides out there on the interwebs as well
DyLn
DyLnOP•2y ago
Ok

Did you find this page helpful?