How can I see end-user IPs in my origin via Bunny CDN?

BunnyCDN sends two headers:

X-Forwarded-For

X-Real-IP

 

X-Forwarded-For contains the CDN IP, followed by the user IP. X-Real-IP forwards only the user IP.

 

You can customize IP headers to forward to your origin via edge rules, such as 'Add Request Header: X-New-IP: %{User.IP}' (variable expression details here: https://docs.bunny.net/docs/edge-rules-variable-expansion).

Table of Contents

Was this article helpful?
1 out of 1 found this helpful