From a6a5f9466816b1d5b24fbf3ed29d39f357fce3ba Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Tue, 10 Mar 2015 18:30:06 +0200 Subject: [PATCH] Commented out IPv6 CloudFlare pool and added new IPv4 range --- install/debian/nginx.conf | 11 ++++++----- install/rhel/nginx.conf | 11 ++++++----- install/ubuntu/nginx.conf | 11 ++++++----- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/install/debian/nginx.conf b/install/debian/nginx.conf index cd2c70df..7937301c 100644 --- a/install/debian/nginx.conf +++ b/install/debian/nginx.conf @@ -82,11 +82,12 @@ http { set_real_ip_from 198.41.128.0/17; set_real_ip_from 162.158.0.0/15; set_real_ip_from 104.16.0.0/12; - 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; + set_real_ip_from 172.64.0.0/13; + #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; diff --git a/install/rhel/nginx.conf b/install/rhel/nginx.conf index 10a556ea..f7a77b52 100644 --- a/install/rhel/nginx.conf +++ b/install/rhel/nginx.conf @@ -82,11 +82,12 @@ http { set_real_ip_from 198.41.128.0/17; set_real_ip_from 162.158.0.0/15; set_real_ip_from 104.16.0.0/12; - 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; + set_real_ip_from 172.64.0.0/13; + #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; diff --git a/install/ubuntu/nginx.conf b/install/ubuntu/nginx.conf index 5d5bd901..1e0d321b 100644 --- a/install/ubuntu/nginx.conf +++ b/install/ubuntu/nginx.conf @@ -82,11 +82,12 @@ http { set_real_ip_from 198.41.128.0/17; set_real_ip_from 162.158.0.0/15; set_real_ip_from 104.16.0.0/12; - 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; + set_real_ip_from 172.64.0.0/13; + #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;