Use a static URLv3.9+

Redirect incoming requests to a target location, using the request path and query string from the configuration in the redirect URL.

Incoming request

config.location

config.keep_incoming_path

New URL

https://example.com/demo?foo=bar https://new.example.com false https://new.example.com/
https://example.com/demo?foo=bar https://new.example.com/some-path false https://new.example.com/some-path

Environment variables

  • YOUR_REDIRECT_URL: The target URL for incoming requests.

Set up the plugin

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!