This plugin allows you to see the actual client IP from headers if you are running behind a CDN or Proxy. It will make it so logs and other downstream directives will see the actual client IP, not the proxy's. Implements security measures so that X-Forwarded-For cannot be spoofed from unauthorized IP ranges.

    Accept X-Forwarded-For from known IPs only

    Cloudflare Preset

    Related Links

    Documentation

    Access the full documentation for this plugin off-site:

    Docs

    Plugin Help

    Get help from the maintainers of the http.realip plugin:

    Plugin Website

    Visit http.realip’s website for more information:

    Plugin Author: captncraig

    Last Updated: 19 Apr 2017, 4:29 PM

    This plugin is independent of the Caddy project and is not endorsed or maintained by Caddy developers. Use at your own risk. Do not file issues for this plugin on Caddy’s bug tracker.