open-consul/website/redirects.js
hc-github-team-consul-core 6c2d2ebeb8
Backport of adding redirects for tproxy and envoy extensions into release/1.16.x (#17690)
* backport of commit e7c164fe905309892f42d8df5e195b0904f935a6

* backport of commit a5b16f6dac398fd326ae1b087f2814c9ce1975cd

---------

Co-authored-by: trujillo-adam <ajosetru@gmail.com>
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2023-06-13 03:29:39 +00:00

57 lines
1.8 KiB
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
// REDIRECTS FILE
// See the README file in this directory for documentation. Please do not
// modify or delete existing redirects without first verifying internally.
// Next.js redirect documentation: https://nextjs.org/docs/api-reference/next.config.js/redirects
module.exports = [
{
source: '/consul/docs/connect/cluster-peering/create-manage-peering',
destination:
'/consul/docs/connect/cluster-peering/usage/establish-cluster-peering',
permanent: true,
},
{
source: '/consul/docs/connect/cluster-peering/usage/establish-peering',
destination:
'/consul/docs/connect/cluster-peering/usage/establish-cluster-peering',
permanent: true,
},
{
source: '/consul/docs/connect/cluster-peering/k8s',
destination: '/consul/docs/k8s/connect/cluster-peering/tech-specs',
permanent: true,
},
{
source: '/consul/docs/connect/intentions#intention-management-permissions',
destination: `/consul/docs/connect/intentions/create-manage-intentions#acl-requirements`,
permanent: true,
},
{
source: '/consul/docs/connect/intentions#intention-basics',
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/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/1.16.x/agent/limits/set-global-traffic-rate-limits',
destination:
'/consul/docs/1.16.x/agent/limits/usage/set-global-traffic-rate-limits',
permanent: true,
},
]