diff --git a/website/redirects.js b/website/redirects.js index d58382bcf..58c924a61 100644 --- a/website/redirects.js +++ b/website/redirects.js @@ -59,5 +59,50 @@ module.exports = [ source: '/vault/docs/agent/caching/:slug', destination: '/vault/docs/agent-and-proxy/agent/caching/:slug', permanent: true, + }, + { + source: '/vault/docs/:version(v1\.(?:4|5|6|7|8|9|10|11|12|13)\.x)/agent-and-proxy/agent/', + destination: '/vault/docs/:version/agent/', + permanent: true, + }, + { + source: '/vault/docs/:version(v1\.(?:4|5|6|7|8|9|10|11|12|13)\.x)/agent-and-proxy/agent/template', + destination: '/vault/docs/:version/agent/template', + permanent: true, + }, + { + source: '/vault/docs/:version(v1\.(?:4|5|6|7|8|9|10|11|12|13)\.x)/agent-and-proxy/agent/caching', + destination: '/vault/docs/:version/agent/caching', + permanent: true, + }, + { + source: '/vault/docs/:version(v1\.(?:4|5|6|7|8|9|10|11|12|13)\.x)/agent-and-proxy/autoauth/:slug*', + destination: '/vault/docs/:version/agent/autoauth/:slug', + permanent: true, + }, + { + source: '/vault/docs/:version(v1\.(?:8|9|10|11|12|13)\.x)/agent-and-proxy/agent/caching/:slug*', + destination: '/vault/docs/:version/agent/caching/:slug', + permanent: true, + }, + { + source: '/vault/docs/:version(v1\.(?:7|8|9|10|11|12|13)\.x)/agent-and-proxy/agent/winsvc', + destination: '/vault/docs/:version/agent/winsvc', + permanent: true, + }, + { + source: '/vault/docs/:version(v1\.(?:8|9)\.x)/agent-and-proxy/agent/generate-config', + destination: '/vault/docs/:version/agent/template-config', + permanent: true, + }, + { + source: '/vault/docs/v1.13.x/agent-and-proxy/agent/versions', + destination: '/vault/docs/v1.13.x/agent/versions', + permanent: true, + }, + { + source: '/vault/docs/v1.13.x/agent-and-proxy/agent/apiproxy', + destination: '/vault/docs/v1.13.x/agent/apiproxy', + permanent: true, } ]