Features
Geo URL Replacements
Route requests to country-specific backends
Geo URL replacements let you serve different backends based on the client's country, using MaxMind GeoLite2-City for lookups.
How it works
Each rule has:
- Match — the URL pattern or backend to replace
- Countries — map of ISO country code → replacement URL
- Default — fallback when no country matches
Lookups are cached in-memory to keep the hot path cheap.
Example
US → https://us.cdn.example.com
DE → https://eu.cdn.example.com
default → https://global.cdn.example.com