Reverse proxy may leak your IP behind Cloudflare?

My site is kaycharms.com has a reverse proxy / {https://www.tiffanylink.com}
kaycharms.com is on Cloudflare and it’s real IP is 159.65.106.12.
kaycharms.com’s real IP is now leaked because www.tiffanylink.com has a php code $_SERVER[“REMOTE_ADDR”]

Is there any way to hide IP of kaycharms.com?

Many thanks

No, that’s a fundamental requirement of internet protocols.

Your Caddy is connecting to the upstream server in order to retrieve a response on behalf of its client, and for the upstream server to return any kind of response, it needs to know where to address it - specifically, your Caddy server’s IP address.

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