kong-dynamic-upstream

Gravitee-style dynamic upstream routing for Kong Gateway OSS

$ luarocks install kong-dynamic-upstream

Route requests to a different upstream per request, decided at the gateway:
by header value or regex, by authenticated consumer, or by a templated URL
built from request variables — with an SSRF-safe host allowlist enforced at
both config time and request time.

Two target modes:
- upstream: reference a Kong Upstream entity (load balancing, health checks)
- url: a literal or templated http(s) URL (Gravitee-style endpoint override)

First-match-wins rules, configurable no-match behavior (passthrough or 503),
DB-less/KIC friendly (no custom entities).

Versions

0.1.0-14 hours ago1 download

Dependencies

lua >= 5.1

Manifests