Proxima Gateway
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

Priority with traffic routes

Replacements share one ladder with Traffic Routes: ASN replacement, then route by network, then country replacement, then route by country, then default. A rule for a specific host beats a route at the same level; a route takes the hosts that have no rule of their own and beats a plain default.