nginx和cloudlfare ip混淆?

我在使用Cloudflare加速服务的时候,在我的nginx.conf http块中使用了下面的configuration来获取真实的IP地址:

  ## Cloudflare settings to get Real IP's set_real_ip_from 204.93.240.0/24; set_real_ip_from 204.93.177.0/24; set_real_ip_from 199.27.128.0/21; set_real_ip_from 173.245.48.0/20; set_real_ip_from 103.21.244.0/22; set_real_ip_from 103.22.200.0/22; set_real_ip_from 103.31.4.0/22; set_real_ip_from 141.101.64.0/18; set_real_ip_from 108.162.192.0/18; set_real_ip_from 190.93.240.0/20; set_real_ip_from 188.114.96.0/20; set_real_ip_from 197.234.240.0/22; set_real_ip_from 198.41.128.0/17; set_real_ip_from 162.158.0.0/15; set_real_ip_from 2400:cb00::/32; set_real_ip_from 2606:4700::/32; set_real_ip_from 2803:f800::/32; set_real_ip_from 2405:b500::/32; set_real_ip_from 2405:8100::/32; real_ip_header CF-Connecting-IP; 

我也使用在上面的configuration下定义的nginx速率限制function,如下所示:

 limit_conn_zone $binary_remote_addr zone=two:30m; 

这是由limit_conn two 16;强制执行limit_conn two 16;/etc/nginx/sites-enabled的'default'文件中的php location块指令。

我的问题是,这是正确的,它不会扼杀和阻止Cloudflare IP的?

基于我自己的经验(我也使用了CloudFlare的Nginx)和文档中的一段引文,我可以说这确实是正确的,并且CloudFlare IPs不会被限制或阻止。

ngx_http_realip_module模块用于更改客户端地址