Nginx - Restore REAL client IP from CloudFlare load balancer
Introducation The purpose of this article is to modify your Nginx configuration to allow you to get the real IP addresses of your visitors for the web application behind the Cloudflare reverse proxy network (and your Nginx is your internal reverse proxy, haha😄). Bash scripts can be scheduled to create an automatically updated Cloudflare IP list file. To get the IP address of each request-providing client (visitor) at the origin, Cloudflare adds the “CF-Connecting-IP” header....