Skip to content

Tag: set_real_ip_from

How to get the real IP address on Nginx when you use Cloudflare

How to get the real IP address on Nginx when you use Cloudflare. If you want to get the real IP address on Nginx when you use Cloudflare, you can use the ngx_http_realip_module module. You can find here more information regarding this module: http://nginx.org/en/docs/http/ngx_http_realip_module.html On Nginx, http section: http { …… … other options ……