LuaRocks.org had a security incident in September 2026. Read the incident report.

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.2.0-177 days ago7 downloads
0.1.0-177 days ago3 downloads

Dependencies

lua >= 5.1

Manifests