Skip to content

Commit

Permalink
Feat: Redirect plugin (#8218)
Browse files Browse the repository at this point in the history
* framework for plugin

* Write Redirect plugin overview

* add some cross-links

---------

Co-authored-by: Michael Heap <[email protected]>
  • Loading branch information
lena-larionova and mheap authored Dec 6, 2024
1 parent c6697e7 commit 0dd5afe
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/_hub/kong-inc/redirect/_changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Changelog

### {{site.base_gateway}} 3.9.0.0

* Introduced the new **Redirect** plugin.
12 changes: 12 additions & 0 deletions app/_hub/kong-inc/redirect/_metadata/_index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Redirect
dbless_compatible: yes
free: true
enterprise: true
konnect: true
network_config_opts: All
notes: --
categories:
- traffic-control
publisher: Kong Inc.
desc: Redirect incoming requests to a new URL
type: plugin
12 changes: 12 additions & 0 deletions app/_hub/kong-inc/redirect/overview/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
nav_title: Overview
---

The Redirect plugin allows you to stop request execution and return a `Location` header to the caller to redirect them to a new URL.

You can keep the incoming request URL while redirecting to a new host or port by setting `keep_incoming_path` to `true`.

## Get started with the Redirect plugin

* [Configuration reference](/hub/kong-inc/redirect/configuration/)
* [Basic configuration example](/hub/kong-inc/redirect/how-to/basic-example/)
3 changes: 3 additions & 0 deletions app/_hub/kong-inc/redirect/versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
strategy: gateway
releases:
minimum_version: '3.9.x'
Binary file added app/assets/images/icons/hub/kong-inc_redirect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0dd5afe

Please sign in to comment.