|
2 | 2 | user www-data; |
3 | 3 | worker_processes auto; |
4 | 4 | worker_rlimit_nofile 65535; |
| 5 | +timer_resolution 50ms; #In order to free some CPU cycles |
5 | 6 | error_log /var/log/nginx/error.log crit; |
6 | 7 | pid /var/run/nginx.pid; |
7 | 8 |
|
@@ -70,25 +71,27 @@ http { |
70 | 71 |
|
71 | 72 |
|
72 | 73 | # Cloudflare https://www.cloudflare.com/ips |
73 | | - set_real_ip_from 199.27.128.0/21; |
74 | | - set_real_ip_from 173.245.48.0/20; |
75 | | - set_real_ip_from 103.21.244.0/22; |
76 | | - set_real_ip_from 103.22.200.0/22; |
77 | | - set_real_ip_from 103.31.4.0/22; |
78 | | - set_real_ip_from 141.101.64.0/18; |
79 | | - set_real_ip_from 108.162.192.0/18; |
80 | | - set_real_ip_from 190.93.240.0/20; |
81 | | - set_real_ip_from 188.114.96.0/20; |
82 | | - set_real_ip_from 197.234.240.0/22; |
83 | | - set_real_ip_from 198.41.128.0/17; |
84 | | - set_real_ip_from 162.158.0.0/15; |
85 | | - set_real_ip_from 104.16.0.0/12; |
86 | | - set_real_ip_from 172.64.0.0/13; |
87 | | - #set_real_ip_from 2400:cb00::/32; |
88 | | - #set_real_ip_from 2606:4700::/32; |
89 | | - #set_real_ip_from 2803:f800::/32; |
90 | | - #set_real_ip_from 2405:b500::/32; |
91 | | - #set_real_ip_from 2405:8100::/32; |
| 74 | + set_real_ip_from 103.21.244.0/22; |
| 75 | + set_real_ip_from 103.22.200.0/22; |
| 76 | + set_real_ip_from 103.31.4.0/22; |
| 77 | + set_real_ip_from 104.16.0.0/12; |
| 78 | + set_real_ip_from 108.162.192.0/18; |
| 79 | + set_real_ip_from 131.0.72.0/22; |
| 80 | + set_real_ip_from 141.101.64.0/18; |
| 81 | + set_real_ip_from 162.158.0.0/15; |
| 82 | + set_real_ip_from 172.64.0.0/13; |
| 83 | + set_real_ip_from 173.245.48.0/20; |
| 84 | + set_real_ip_from 188.114.96.0/20; |
| 85 | + set_real_ip_from 190.93.240.0/20; |
| 86 | + set_real_ip_from 197.234.240.0/22; |
| 87 | + set_real_ip_from 198.41.128.0/17; |
| 88 | + set_real_ip_from 2400:cb00::/32; |
| 89 | + set_real_ip_from 2606:4700::/32; |
| 90 | + set_real_ip_from 2803:f800::/32; |
| 91 | + set_real_ip_from 2405:b500::/32; |
| 92 | + set_real_ip_from 2405:8100::/32; |
| 93 | + set_real_ip_from 2c0f:f248::/32; |
| 94 | + set_real_ip_from 2a06:98c0::/29; |
92 | 95 | real_ip_header CF-Connecting-IP; |
93 | 96 |
|
94 | 97 |
|
|
0 commit comments