Linux Tech Enthusiast
Nov 14, 2026 · Operations
Nginx Geo-Blocking: Allow Only Mainland China IPs
This guide shows how to configure Nginx to allow only mainland China IPv4/IPv6 addresses using the geo module, with automated IP list fetching from ipdeny.com, CDN real-IP handling, testing procedures, and safe update practices.
CDNChina IP rangesIP whitelist
0 likes · 12 min read
