open-vault/website/redirects.js
Violet Hynes a47c0c7073
VAULT-15546 First pass at Vault Proxy docs (#20578)
* VAULT-15546 First pass at Vault Proxy docs

* VAULT-15546 correct errors

* VAULT-15546 fully qualify paths

* VAULT-15546 remove index

* VAULT-15546 Some typos and clean up

* VAULT-15546 fix link

* VAULT-15546 Add redirects so old links stay working

* VAULT-15546 more explicit redirects

* VAULT-15546 typo fixes

* Suggestions for Vault Agent & Vault Proxy docs (#20612)

* Rename 'agentandproxy' to 'agent-and-proxy' for better URL

* Update the index pages for each section

* VAULT-15546 fix link typo

---------

Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
2023-05-19 13:11:39 -04:00

64 lines
1.5 KiB
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
module.exports = [
// example redirect:
// {
// source: '/vault/docs/some/path',
// destination: '/vault/docs/some/other/path',
// permanent: true,
// },
{
source: '/vault/docs/plugins/plugin-portal',
destination: '/vault/integrations',
permanent: true,
},
{
source: '/vault/docs/agent/autoauth',
destination: '/vault/docs/agent-and-proxy/autoauth',
permanent: true,
},
{
source: '/vault/docs/agent/autoauth/:slug',
destination: '/vault/docs/agent-and-proxy/autoauth/:slug',
permanent: true,
},
{
source: '/vault/docs/agent/template',
destination: '/vault/docs/agent-and-proxy/agent/template',
permanent: true,
},
{
source: '/vault/docs/agent/winsvc',
destination: '/vault/docs/agent-and-proxy/agent/winsvc',
permanent: true,
},
{
source: '/vault/docs/agent/versions',
destination: '/vault/docs/agent-and-proxy/agent/versions',
permanent: true,
},
{
source: '/vault/docs/agent/apiproxy',
destination: '/vault/docs/agent-and-proxy/agent/apiproxy',
permanent: true,
},
{
source: '/vault/docs/agent',
destination: '/vault/docs/agent-and-proxy/agent',
permanent: true,
},
{
source: '/vault/docs/agent/caching',
destination: '/vault/docs/agent-and-proxy/agent/caching',
permanent: true,
},
{
source: '/vault/docs/agent/caching/:slug',
destination: '/vault/docs/agent-and-proxy/agent/caching/:slug',
permanent: true,
}
]