Quellcode durchsuchen

Commented out IPv6 CloudFlare pool and added new IPv4 range

Serghey Rodin vor 11 Jahren
Ursprung
Commit
a6a5f94668
3 geänderte Dateien mit 18 neuen und 15 gelöschten Zeilen
  1. 6 5
      install/debian/nginx.conf
  2. 6 5
      install/rhel/nginx.conf
  3. 6 5
      install/ubuntu/nginx.conf

+ 6 - 5
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;
 
 

+ 6 - 5
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;
 
 

+ 6 - 5
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;