I would like to know how to configure NGINX to only allow IPs that come directly from Cloudflare, any non-CloudFlare IPs being redirected to another URL.
For some reason, NGINX grabs the client real IP.
I’ve looked a lot, but most of it is like getting the real client IP when it’s behind CloudFlare, or using IPtables, but the latter doesn’t work with URLs I understand.
Possible relevant details:
I run Nginx Proxy Manager on Hassio, and I have the orange-cloud enabled.