From 0dd5afe9337effdac626b2682cfc5e18fe963683 Mon Sep 17 00:00:00 2001 From: lena-larionova <54370747+lena-larionova@users.noreply.github.com> Date: Fri, 6 Dec 2024 09:58:16 -0800 Subject: [PATCH] Feat: Redirect plugin (#8218) * framework for plugin * Write Redirect plugin overview * add some cross-links --------- Co-authored-by: Michael Heap --- app/_hub/kong-inc/redirect/_changelog.md | 5 +++++ app/_hub/kong-inc/redirect/_metadata/_index.yml | 12 ++++++++++++ app/_hub/kong-inc/redirect/overview/_index.md | 12 ++++++++++++ app/_hub/kong-inc/redirect/versions.yml | 3 +++ .../images/icons/hub/kong-inc_redirect.png | Bin 0 -> 2026 bytes 5 files changed, 32 insertions(+) create mode 100644 app/_hub/kong-inc/redirect/_changelog.md create mode 100644 app/_hub/kong-inc/redirect/_metadata/_index.yml create mode 100644 app/_hub/kong-inc/redirect/overview/_index.md create mode 100644 app/_hub/kong-inc/redirect/versions.yml create mode 100644 app/assets/images/icons/hub/kong-inc_redirect.png diff --git a/app/_hub/kong-inc/redirect/_changelog.md b/app/_hub/kong-inc/redirect/_changelog.md new file mode 100644 index 000000000000..8b9513ffc482 --- /dev/null +++ b/app/_hub/kong-inc/redirect/_changelog.md @@ -0,0 +1,5 @@ +## Changelog + +### {{site.base_gateway}} 3.9.0.0 + +* Introduced the new **Redirect** plugin. \ No newline at end of file diff --git a/app/_hub/kong-inc/redirect/_metadata/_index.yml b/app/_hub/kong-inc/redirect/_metadata/_index.yml new file mode 100644 index 000000000000..2d95a3ef6e45 --- /dev/null +++ b/app/_hub/kong-inc/redirect/_metadata/_index.yml @@ -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 \ No newline at end of file diff --git a/app/_hub/kong-inc/redirect/overview/_index.md b/app/_hub/kong-inc/redirect/overview/_index.md new file mode 100644 index 000000000000..cb43c79800d3 --- /dev/null +++ b/app/_hub/kong-inc/redirect/overview/_index.md @@ -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/) diff --git a/app/_hub/kong-inc/redirect/versions.yml b/app/_hub/kong-inc/redirect/versions.yml new file mode 100644 index 000000000000..1cf842c6755b --- /dev/null +++ b/app/_hub/kong-inc/redirect/versions.yml @@ -0,0 +1,3 @@ +strategy: gateway +releases: + minimum_version: '3.9.x' \ No newline at end of file diff --git a/app/assets/images/icons/hub/kong-inc_redirect.png b/app/assets/images/icons/hub/kong-inc_redirect.png new file mode 100644 index 0000000000000000000000000000000000000000..5a0345eec7653738c1d68669236eaeea0f65c94d GIT binary patch literal 2026 zcmZ9NX;7015{AE=|!P?ZveCrTPh5cez*i%7;NrxfSd+sNt9D zTA@iQpXgGkxy@+4obxj53CrbTs5(}_xly1e2!dr}s6~LH=-}l=>gTbz3E08+i%ER_ zqk#|G#>mqG*E#c!9H4Venp>}UEPA%>g-vqb5J_hW{2GsC)Df$)ouwm;8(Cz*5X~W^Rzx+b#ezy^{3uV z$)Ow)8Pgd-&rSp#I`i}UVGgr*Nz2n4Nw$upG6bLx+n7&Wb6?22gR9MMo3Sz-6Iq*g z8WTg4_O%gLPYf=%BQMq!?k=A4EC69lFg|UM$-P9AR8`_T1P9{RQugM1oX##`^GK29 z%1!U*rpLoX!ptZ$Is6)R1dsPg%#^R(A{q^+lz)(CG6_#(oIz-20>2K z`aAT5vxi!mr7j9@b6DgU{&DNvV@7&T4QL&9bal5-akm!S*yP*32l!lK$*bDg7`)3j znnE@B@uz$hV!EPd@e2fzdm@w_$drs&3dBY5S=vG}(sV_wl2dJp z-LZAf{V4Ep1Ro+!c(?|{IR}FS7t1mUE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