Redirect requests and keep the incoming path

Redirect requests to a new host and keep the path and query string of the incoming request.

Prerequisites

Environment variables

  • REDIRECT_URL: The URL that callers are redirected to.

Set up the policy

Attach the policy

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!