Skip to content

Commit 509bbd1

Browse files
authored
fix(ip-masking): added 172.19.0.0/12 subnet (#142)
1 parent cb3df29 commit 509bbd1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

nginx/wiki.metaploy.conf

+6-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ server {
1515
}
1616

1717
# Cloudflare masks real IPs
18+
## We are using cloudflare for DNS management
19+
## Cloudflare masks the real ip of the user with its ips
20+
## Here we are specifying cloudflare to provide with the user's actual ip
21+
## via sending a special header.
1822
set_real_ip_from 199.27.128.0/21;
1923
set_real_ip_from 173.245.48.0/20;
2024
set_real_ip_from 103.21.244.0/22;
@@ -29,11 +33,12 @@ server {
2933
set_real_ip_from 162.158.0.0/15;
3034
set_real_ip_from 104.16.0.0/12;
3135
set_real_ip_from 172.64.0.0/13;
36+
set_real_ip_from 172.19.0.0/13;
3237
set_real_ip_from 2400:cb00::/32;
3338
set_real_ip_from 2606:4700::/32;
3439
set_real_ip_from 2803:f800::/32;
3540
set_real_ip_from 2405:b500::/32;
3641
set_real_ip_from 2405:8100::/32;
3742
set_real_ip_from 127.0.0.1/32;
3843
real_ip_header CF-Connecting-IP;
39-
}
44+
}

0 commit comments

Comments
 (0)