open-consul/website/redirects.js
hc-github-team-consul-core 5abe7622f0
Backport of Add redirects for mesh-gateway docs into release/1.16.x (#18380)
backport of commit bdf6ed9d6d988061540e5e91f71bd715faa9c241

Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2023-08-04 16:55:40 +00:00

77 lines
2.3 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/connect/transparent-proxy',
destination: '/consul/docs/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,
},
{
source:
'/consul/docs/connect/gateways/mesh-gateway/service-to-service-traffic-peers',
destination:
'/consul/docs/connect/cluster-peering/usage/establish-cluster-peering',
permanent: true,
},
{
source: '/consul/docs/enterprise/sentinel',
destination:
'/consul/docs/dynamic-app-config/kv#using-sentinel-to-apply-policies-for-consul-kv',
permanent: true,
},
{
source:
'/consul/docs/connect/gateways/mesh-gateway/service-to-service-traffic-datacenters',
destination:
'/consul/docs/k8s/deployment-configurations/multi-cluster',
permanent: true,
}
]