How to pass the Client ISP instead of Caddy Reverse Proxy ISP

Hello,

Is there any way that I can pass to my Backend Server the Client ISP instead of the ISP of the VPS where Caddy Reverse Proxy is installed.

Just to mention as might be related; My backend Server works on Nginx as a Load Balancer.

Thanks,

Caddy’s reverse_proxy module populates the X-Forwarded-For header with originating client IP information by default. That information should already be available to your backend, it just needs to take it and parse it.

https://caddyserver.com/docs/caddyfile/directives/reverse_proxy#defaults

1 Like

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