Skip to content

Commit 420f4ea

Browse files
committed
Update list of CloudFront IP addresses
This includes some updates to the upstream list, and a fixes a few mistakes with the sort order.
1 parent c38a2bf commit 420f4ea

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

config/nginx.conf.erb

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ http {
3333
real_ip_recursive on;
3434

3535
# CloudFront IP addresses from http://d7uri8nf7uskq.cloudfront.net/tools/list-cloudfront-ips
36-
# Last updated: 2020-05-09
36+
# Last updated: 2020-05-22
3737
set_real_ip_from 3.231.2.0/25;
3838
set_real_ip_from 3.234.232.224/27;
3939
set_real_ip_from 13.32.0.0/15;
@@ -57,8 +57,8 @@ http {
5757
set_real_ip_from 35.158.136.0/24;
5858
set_real_ip_from 35.162.63.192/26;
5959
set_real_ip_from 35.167.191.128/26;
60-
set_real_ip_from 36.103.232.128/26;
6160
set_real_ip_from 36.103.232.0/25;
61+
set_real_ip_from 36.103.232.128/26;
6262
set_real_ip_from 52.15.127.128/26;
6363
set_real_ip_from 52.46.0.0/18;
6464
set_real_ip_from 52.47.139.0/24;
@@ -83,52 +83,55 @@ http {
8383
set_real_ip_from 54.240.128.0/18;
8484
set_real_ip_from 58.254.138.0/25;
8585
set_real_ip_from 58.254.138.128/26;
86-
set_real_ip_from 64.252.128.0/18;
8786
set_real_ip_from 64.252.64.0/18;
87+
set_real_ip_from 64.252.128.0/18;
88+
set_real_ip_from 65.8.0.0/16;
89+
set_real_ip_from 65.9.0.0/17;
90+
set_real_ip_from 65.9.128.0/18;
8891
set_real_ip_from 70.132.0.0/18;
8992
set_real_ip_from 71.152.0.0/17;
9093
set_real_ip_from 99.79.169.0/24;
9194
set_real_ip_from 99.84.0.0/16;
9295
set_real_ip_from 99.86.0.0/16;
9396
set_real_ip_from 111.51.66.0/24;
94-
set_real_ip_from 116.129.226.128/26;
9597
set_real_ip_from 116.129.226.0/25;
98+
set_real_ip_from 116.129.226.128/26;
9699
set_real_ip_from 118.193.97.64/26;
97100
set_real_ip_from 118.193.97.128/25;
98101
set_real_ip_from 119.147.182.0/25;
99102
set_real_ip_from 119.147.182.128/26;
103+
set_real_ip_from 120.52.12.64/26;
100104
set_real_ip_from 120.52.22.96/27;
101105
set_real_ip_from 120.52.39.128/27;
102106
set_real_ip_from 120.52.153.192/26;
103-
set_real_ip_from 120.52.12.64/26;
104107
set_real_ip_from 120.232.236.0/25;
105108
set_real_ip_from 120.232.236.128/26;
106109
set_real_ip_from 120.253.240.192/26;
110+
set_real_ip_from 120.253.241.160/27;
107111
set_real_ip_from 120.253.245.128/26;
108112
set_real_ip_from 120.253.245.192/27;
109-
set_real_ip_from 120.253.241.160/27;
110113
set_real_ip_from 130.176.0.0/16;
111114
set_real_ip_from 143.204.0.0/16;
112115
set_real_ip_from 144.220.0.0/16;
113-
set_real_ip_from 180.163.57.128/26;
114116
set_real_ip_from 180.163.57.0/25;
117+
set_real_ip_from 180.163.57.128/26;
118+
set_real_ip_from 204.246.164.0/22;
115119
set_real_ip_from 204.246.168.0/22;
116-
set_real_ip_from 204.246.173.0/24;
117120
set_real_ip_from 204.246.172.0/24;
118-
set_real_ip_from 204.246.164.0/22;
121+
set_real_ip_from 204.246.173.0/24;
119122
set_real_ip_from 204.246.174.0/23;
120123
set_real_ip_from 204.246.176.0/20;
121-
set_real_ip_from 205.251.249.0/24;
122-
set_real_ip_from 205.251.252.0/23;
123124
set_real_ip_from 205.251.200.0/21;
124125
set_real_ip_from 205.251.208.0/20;
125-
set_real_ip_from 205.251.254.0/24;
126+
set_real_ip_from 205.251.249.0/24;
126127
set_real_ip_from 205.251.250.0/23;
128+
set_real_ip_from 205.251.252.0/23;
129+
set_real_ip_from 205.251.254.0/24;
127130
set_real_ip_from 210.51.40.0/24;
128131
set_real_ip_from 216.137.32.0/19;
129-
set_real_ip_from 223.71.71.128/25;
130-
set_real_ip_from 223.71.71.96/27;
131132
set_real_ip_from 223.71.11.0/27;
133+
set_real_ip_from 223.71.71.96/27;
134+
set_real_ip_from 223.71.71.128/25;
132135

133136
gzip on;
134137
gzip_comp_level 2;

0 commit comments

Comments
 (0)