GeoIP Country / Region Rule Sets

Restrict access by country / continent. Backed by MaxMind GeoLite2, monthly refresh.

Fields

  • name / scope / mode (allow/block)
  • criteria comma-separated country ISO codes (CN/HK/TW/JP/SG) or continent (AS/EU/NA/SA/AF/OC)

Attach to site

microservice-site/upsert: geoip_rule_set_ids array.

Real IP behind CDN

If using Cloudflare etc, set microservice-site.custom_ip_header = CF-Connecting-IP so GeoIP sees the true client country.