From e7c164fe905309892f42d8df5e195b0904f935a6 Mon Sep 17 00:00:00 2001 From: trujillo-adam Date: Mon, 12 Jun 2023 19:38:27 -0700 Subject: [PATCH 1/2] adding redirects --- website/redirects.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/website/redirects.js b/website/redirects.js index fa80d3baba52..671a521eab40 100644 --- a/website/redirects.js +++ b/website/redirects.js @@ -37,4 +37,20 @@ module.exports = [ destination: `/consul/docs/connect/intentions`, permanent: true, }, + { + source: '/consul/docs/v1.16.x/connect/transparent-proxy', + destination: '/consul/docs/v1.16.x/k8s/connect/transparent-proxy', + permanent: true, + }, + { + source: '/consul/docs/agent/limits/init-rate-limits', + destination: '/consul/docs/agent/limits/usage/init-rate-limits', + permanent: true, + }, + { + source: '/consul/docs/agent/limits/set-global-traffic-rate-limits', + destination: + '/consul/docs/agent/limits/usage/set-global-traffic-rate-limits', + permanent: true, + }, ] From a5b16f6dac398fd326ae1b087f2814c9ce1975cd Mon Sep 17 00:00:00 2001 From: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com> Date: Mon, 12 Jun 2023 19:45:33 -0700 Subject: [PATCH 2/2] Apply suggestions from code review --- website/redirects.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/redirects.js b/website/redirects.js index 671a521eab40..0468a19c60ca 100644 --- a/website/redirects.js +++ b/website/redirects.js @@ -43,14 +43,14 @@ module.exports = [ permanent: true, }, { - source: '/consul/docs/agent/limits/init-rate-limits', - destination: '/consul/docs/agent/limits/usage/init-rate-limits', + source: '/consul/docs/1.16.x/agent/limits/init-rate-limits', + destination: '/consul/docs/1.16.x/agent/limits/usage/init-rate-limits', permanent: true, }, { - source: '/consul/docs/agent/limits/set-global-traffic-rate-limits', + source: '/consul/docs/1.16.x/agent/limits/set-global-traffic-rate-limits', destination: - '/consul/docs/agent/limits/usage/set-global-traffic-rate-limits', + '/consul/docs/1.16.x/agent/limits/usage/set-global-traffic-rate-limits', permanent: true, }, ]