True user IPs when using Cloudflare

Cloudflare acts as a proxy between your users and your server, which means the default configuration will show Cloudflare nodes rather than origin IPs.

You need to add the Cloudflare template to your app.yml so that you can see the true originating IP of your users.

Under templates: add:

- "templates/cloudflare.template.yml"

Then rebuild.

9 Likes