website: remove netlify artifacts and port missing redirects over to new format (#9601)

* website: port existing new redirects old format

* website: remove netlify specific artifacts
This commit is contained in:
Kyle MacDonald 2021-01-21 10:16:17 -05:00 committed by GitHub
parent 495ef9150c
commit ab029e8aca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 52 additions and 448 deletions

1
.gitignore vendored
View File

@ -6,7 +6,6 @@
*.test
.envrc
.gotools
.netlify
.vagrant/
/pkg
bin/

View File

@ -1,7 +1,5 @@
# Consul Website
[![Netlify Status](https://img.shields.io/netlify/f7fa8963-0022-4a0e-9ccf-f5385355906b?style=flat-square)](https://app.netlify.com/sites/consul-docs-platform/deploys)
This subdirectory contains the entire source for the [Consul Website](https://consul.io/). This is a [NextJS](https://nextjs.org/) project, which builds a static site from these source files.
<!--
@ -15,14 +13,28 @@ This subdirectory contains the entire source for the [Consul Website](https://co
## Table of Contents
- [Contributions](#contributions-welcome)
- [Running the Site Locally](#running-the-site-locally)
- [Editing Markdown Content](#editing-markdown-content)
- [Editing Navigation Sidebars](#editing-navigation-sidebars)
- [Changing the Release Version](#changing-the-release-version)
- [Redirects](#redirects)
- [Browser Support](#browser-support)
- [Deployment](#deployment)
- [Consul Website](#consul-website)
- [Table of Contents](#table-of-contents)
- [Contributions Welcome!](#contributions-welcome)
- [Running the Site Locally](#running-the-site-locally)
- [With Docker](#with-docker)
- [With Node](#with-node)
- [Editing Markdown Content](#editing-markdown-content)
- [Creating New Pages](#creating-new-pages)
- [Markdown Enhancements](#markdown-enhancements)
- [Custom Components](#custom-components)
- [Tabs](#tabs)
- [Enterprise Alert](#enterprise-alert)
- [Other Components](#other-components)
- [Syntax Highlighting](#syntax-highlighting)
- [Editing Navigation Sidebars](#editing-navigation-sidebars)
- [Index-less Categories](#index-less-categories)
- [Custom or External Links](#custom-or-external-links)
- [Changing the Release Version](#changing-the-release-version)
- [Displaying a Prerelease](#displaying-a-prerelease)
- [Redirects](#redirects)
- [Browser Support](#browser-support)
- [Deployment](#deployment)
<!-- BEGIN: contributions -->
<!-- Generated text, do not edit directly -->

View File

@ -1,419 +0,0 @@
# REDIRECTS FILE
#
# See the README file in this directory for documentation. Please do not
# modify or delete existing redirects without first verifying internally.
# Consul Redirects
/discovery.html /use-cases/service-discovery-and-health-checking 301!
/mesh.html /use-cases/multi-platform-service-mesh 301!
/mesh /use-cases/multi-platform-service-mesh 301!
/segmentation /use-cases/multi-platform-service-mesh 301!
/segmentation.html /use-cases/multi-platform-service-mesh 301!
/api.html /api-docs 301!
/docs/agent/acl-rules.html /docs/security/acl/acl-rules 301!
/docs/agent/acl-rules /docs/security/acl/acl-rules 301!
/docs/acl/acl-rules /docs/security/acl/acl-rules
/docs/acl/acl-rules.html /docs/security/acl/acl-rules
/docs/agent/acl-system.html /docs/security/acl/acl-system 301!
/docs/agent/acl-system /docs/security/acl/acl-system 301!
/docs/acl/acl-system /docs/security/acl/acl-system 301!
/docs/acl/acl-system.html /docs/security/acl/acl-system 301!
/docs/agent/http.html /api-docs 301!
/docs/agent/http /api-docs 301!
/docs/guides/acl-legacy.html /docs/security/acl/acl-legacy 301!
/docs/guides/acl-legacy /docs/security/acl/acl-legacy 301!
/docs/acl/acl-legacy /docs/security/acl/acl-legacy 301!
/docs/guides/acl-migrate-tokens.html /docs/security/acl/acl-migrate-tokens 301!
/docs/guides/acl-migrate-tokens /docs/security/acl/acl-migrate-tokens 301!
/docs/acl/acl-migrate-tokens /docs/security/acl/acl-migrate-tokens 301!
/docs/guides/bootstrapping.html /docs/install/bootstrapping 301!
/docs/guides/bootstrapping /docs/install/bootstrapping 301!
/docs/guides/sentinel.html /docs/agent/sentinel 301!
/docs/guides/sentinel /docs/agent/sentinel 301!
/docs/connect/proxies/sidecar-service.html /docs/connect/registration/sidecar-service 301!
/docs/connect/proxies/sidecar-service /docs/connect/registration/sidecar-service 301!
/docs/enterprise/connect-multi-datacenter/index.html /docs/enterprise 301!
/docs/enterprise/connect-multi-datacenter /docs/enterprise 301!
/configuration.html / 301!
/configuration / 301!
/docs/connect/mesh_gateway /docs/connect/gateways/mesh-gateway 301!
/docs/connect/mesh_gateway.html /docs/connect/gateways/mesh-gateway 301!
/docs/connect/mesh-gateway /docs/connect/gateways/mesh-gateway 301!
/docs/connect/ingress_gateway /docs/connect/gateways/ingress-gateway 301!
/docs/connect/ingress_gateway.html /docs/connect/gateways/ingress-gateway 301!
/docs/connect/ingress-gateway /docs/connect/gateways/ingress-gateway 301!
/docs/connect/terminating_gateway /docs/connect/gateways/terminating-gateway 301!
/docs/connect/terminating_gateway.html /docs/connect/gateways/terminating-gateway 301!
/docs/connect/terminating-gateway /docs/connect/gateways/terminating-gateway 301!
/docs/k8s/connect.html /docs/k8s/connect 301!
/docs/k8s/connect/overview /docs/k8s/connect 301!
/docs/agent/cloud-auto-join /docs/install/cloud-auto-join 301!
/docs/agent/cloud-auto-join.html /docs/install/cloud-auto-join 301!
/docs/internals/security /docs/security 301!
/docs/acl/ /docs/security/acl/ 301!
/docs/acl/auth-methods /docs/security/acl/auth-methods 301!
/docs/acl/auth-methods/kubernetes /docs/security/acl/auth-methods/kubernetes 301!
/docs/acl/auth-methods/kubernetes.html /docs/security/acl/auth-methods/kubernetes 301!
/docs/acl/auth-methods/jwt /docs/security/acl/auth-methods/jwt 301!
/docs/acl/auth-methods/oidc /docs/security/acl/auth-methods/oidc 301!
/docs/agent/kv /docs/dynamic-app-config/kv 301!
/docs/internals/sessions /docs/dynamic-app-config/sessions 301!
/docs/internals/sessions.html /docs/dynamic-app-config/sessions 301!
/docs/agent/watches /docs/dynamic-app-config/watches 301!
/docs/agent/watches.html /docs/dynamic-app-config/watches 301!
/docs/connect/l7-traffic-management /docs/connect/l7-traffic/ 301!
/docs/connect/l7-traffic-management.html /docs/connect/l7-traffic/ 301!
/docs/internals/discovery-chain /docs/connect/l7-traffic/discovery-chain 301!
/docs/k8s/operations/upgrading /docs/k8s/upgrade 301!
/docs/k8s/operations/uninstalling /docs/k8s/uninstall 301!
/docs/k8s/operations/tls-on-existing-cluster /docs/k8s/tls-on-existing-cluster 301!
/docs/agent/services /docs/discovery/services 301!
/docs/agent/services.html /docs/discovery/services 301!
/docs/agent/checks /docs/discovery/checks 301!
/docs/agent/checks.html /docs/discovery/checks 301!
/docs/agent/dns /docs/discovery/dns 301!
/docs/agent/dns.html /docs/discovery/dns 301!
/docs/agent/encryption /docs/security/encryption 301!
/docs/agent/encryption.html /docs/security/encryption 301!
/docs/internals/architecture /docs/architecture 301!
/docs/internals/architecture.html /docs/architecture 301!
/docs/internals/anti-entropy /docs/architecture/anti-entropy 301!
/docs/internals/anti-entropy.html /docs/architecture/anti-entropy 301!
/docs/internals/consensus /docs/architecture/consensus 301!
/docs/internals/consensus.html /docs/architecture/consensus 301!
/docs/internals/gossip /docs/architecture/gossip 301!
/docs/internals/gossip.html /docs/architecture/gossip 301!
/docs/internals/jepsen /docs/architecture/jepsen 301!
/docs/internals/jepsen.html /docs/architecture/jepsen 301!
/docs/internals/coordinates /docs/architecture/coordinates 301!
/docs/internals/coordinates.html /docs/architecture/coordinates 301!
/docs/glossary /docs/install/glossary 301!
/docs/glossary.html /docs/install/glossary 301!
/docs/connect/gateways/mesh-gateways /docs/connect/gateways/mesh-gateway 301!
/docs/connect/gateways/mesh-gateways.html /docs/connect/gateways/mesh-gateway 301!
/docs/connect/gateways/wan-federation-via-mesh-gateways /docs/connect/gateways/mesh-gateway/wan-federation-via-mesh-gateways 301!
/docs/faq /docs/troubleshoot/faq 301!
/docs/faq.html /docs/troubleshoot/faq 301!
/docs/common-errors /docs/troubleshoot/common-errors 301!
/docs/common-errors.html /docs/troubleshoot/common-errors 301!
/intro /docs/intro 301!
/intro/vs /docs/intro/vs 301!
/intro/vs/zookeeper /docs/intro/vs/zookeeper 301!
/intro/vs/chef-puppet /docs/intro/vs/chef-puppet 301!
/intro/vs/nagios-sensu /docs/intro/vs/nagios-sensu 301!
/intro/vs/nagios-sensu.html /docs/intro/vs/nagios-sensu 301!
/intro/vs/skydns /docs/intro/vs/skydns 301!
/intro/vs/skydns.html /docs/intro/vs/skydns 301!
/intro/vs/smartstack /docs/intro/vs/smartstack 301!
/intro/vs/serf /docs/intro/vs/serf 301!
/intro/vs/eureka /docs/intro/vs/eureka 301!
/intro/vs/eureka.html /docs/intro/vs/eureka 301!
/intro/vs/istio /docs/intro/vs/istio 301!
/intro/vs/proxies /docs/intro/vs/proxies 301!
/intro/vs/custom /docs/intro/vs/custom 301!
/download-tools /docs/download-tools 301!
/downloads_tools /docs/download-tools 301!
/download_tools /docs/download-tools 301!
/downloads_tools /docs/download-tools 301!
/docs/k8s/ambassador /docs/k8s/connect/ambassador 301!
/docs/k8s/installation/overview /docs/k8s/installation/install 301!
/docs/k8s/installation/multi-cluster/overview /docs/k8s/installation/multi-cluster 301!
/docs/partnerships /docs/integrate/partnerships 301!
/docs/agent/config-entries/ingress-gateway /docs/connect/config-entries/ingress-gateway 301!
/docs/agent/config-entries/proxy-defaults /docs/connect/config-entries/proxy-defaults 301!
/docs/agent/config-entries/service-defaults /docs/connect/config-entries/service-defaults 301!
/docs/agent/config-entries/service-intentions /docs/connect/config-entries/service-intentions 301!
/docs/agent/config-entries/service-resolver /docs/connect/config-entries/service-resolver 301!
/docs/agent/config-entries/service-router /docs/connect/config-entries/service-router 301!
/docs/agent/config-entries/service-splitter /docs/connect/config-entries/service-splitter 301!
/docs/agent/config-entries/terminating-gateway /docs/connect/config-entries/terminating-gateway 301!
# CLI redirects
/docs/commands /commands 301!
/docs/commands/acl /commands/acl 301!
/docs/commands/acl/auth-method /commands/acl/auth-method 301!
/docs/commands/acl/auth-method/create /commands/acl/auth-method/create 301!
/docs/commands/acl/auth-method/delete /commands/acl/auth-method/delete 301!
/docs/commands/acl/auth-method/list /commands/acl/auth-method/list 301!
/docs/commands/acl/auth-method/read /commands/acl/auth-method/read 301!
/docs/commands/acl/auth-method/update /commands/acl/auth-method/update 301!
/docs/commands/acl/binding-rule /commands/acl/binding-rule 301!
/docs/commands/acl/binding-rule/create /commands/acl/binding-rule/create 301!
/docs/commands/acl/binding-rule/create.html /commands/acl/binding-rule/create 301!
/docs/commands/acl/binding-rule/delete /commands/acl/binding-rule/delete 301!
/docs/commands/acl/binding-rule/delete.html /commands/acl/binding-rule/delete 301!
/docs/commands/acl/binding-rule/list /commands/acl/binding-rule/list 301!
/docs/commands/acl/binding-rule/list.html /commands/acl/binding-rule/list 301!
/docs/commands/acl/binding-rule/read /commands/acl/binding-rule/read 301!
/docs/commands/acl/binding-rule/read.html /commands/acl/binding-rule/read 301!
/docs/commands/acl/binding-rule/update /commands/acl/binding-rule/update 301!
/docs/commands/acl/binding-rule/update.html /commands/acl/binding-rule/update 301!
/docs/commands/acl/bootstrap /commands/acl/bootstrap 301!
/docs/commands/acl/policy/ /commands/acl/policy 301!
/docs/commands/acl/policy/create /commands/acl/policy/create 301!
/docs/commands/acl/policy/delete /commands/acl/policy/delete 301!
/docs/commands/acl/policy/list /commands/acl/policy/list 301!
/docs/commands/acl/policy/read /commands/acl/policy/read 301!
/docs/commands/acl/policy/update /commands/acl/policy/update 301!
/docs/commands/acl/set-agent-token /commands/acl/set-agent-token 301!
/docs/commands/acl/token /commands/acl/token 301!
/docs/commands/acl/token/clone /commands/acl/token/clone 301!
/docs/commands/acl/token/create /commands/acl/token/create 301!
/docs/commands/acl/token/delete /commands/acl/token/delete 301!
/docs/commands/acl/token/list /commands/acl/token/list 301!
/docs/commands/acl/token/read /commands/acl/token/read 301!
/docs/commands/acl/token/update /commands/acl/token/update 301!
/docs/commands/acl/translate-rules /commands/acl/translate-rules 301!
/docs/commands/agent /commands/agent 301!
/docs/commands/catalog /commands/catalog 301!
/docs/commands/catalog/datacenters /commands/catalog/datacenters 301!
/docs/commands/catalog/nodes /commands/catalog/nodes 301!
/docs/commands/catalog/services /commands/catalog/services 301!
/docs/commands/config /commands/config 301!
/docs/commands/config/delete /commands/config/delete 301!
/docs/commands/config/list /commands/config/list 301!
/docs/commands/config/read /commands/config/read 301!
/docs/commands/config/write /commands/config/write 301!
/docs/commands/connect /commands/connect 301!
/docs/commands/connect/ca /commands/connect/ca 301!
/docs/commands/connect/proxy /commands/connect/proxy 301!
/docs/commands/connect/envoy /commands/connect/envoy 301!
/docs/commands/connect/expose /commands/connect/expose 301!
/docs/commands/debug /commands/debug 301!
/docs/commands/event /commands/event 301!
/docs/commands/exec /commands/exec 301!
/docs/commands/force-leave /commands/force-leave 301!
/docs/commands/info /commands/info 301!
/docs/commands/intention /commands/intention 301!
/docs/commands/intention/check /commands/intention/check 301!
/docs/commands/intention/create /commands/intention/create 301!
/docs/commands/intention/delete /commands/intention/delete 301!
/docs/commands/intention/get /commands/intention/get 301!
/docs/commands/intention/match /commands/intention/match 301!
/docs/commands/join /commands/join 301!
/docs/commands/keygen /commands/keygen 301!
/docs/commands/keyring /commands/keyring 301!
/docs/commands/kv /commands/kv 301!
/docs/commands/kv/delete /commands/kv/delete 301!
/docs/commands/kv/export /commands/kv/export 301!
/docs/commands/kv/get /commands/kv/get 301!
/docs/commands/kv/import /commands/kv/import 301!
/docs/commands/kv/put /commands/kv/put 301!
/docs/commands/leave /commands/leave 301!
/docs/commands/license /commands/license 301!
/docs/commands/lock /commands/lock 301!
/docs/commands/login /commands/login 301!
/docs/commands/logout /commands/logout 301!
/docs/commands/maint /commands/maint 301!
/docs/commands/members /commands/members 301!
/docs/commands/members.html /commands/members 301!
/docs/commands/monitor /commands/monitor 301!
/docs/commands/namespace /commands/namespace 301!
/docs/commands/namespace/create /commands/namespace/create 301!
/docs/commands/namespace/delete /commands/namespace/delete 301!
/docs/commands/namespace/list /commands/namespace/list 301!
/docs/commands/namespace/read /commands/namespace/read 301!
/docs/commands/namespace/update /commands/namespace/update 301!
/docs/commands/namespace/write /commands/namespace/write 301!
/docs/commands/operator /commands/operator 301!
/docs/commands/operator/area /commands/operator/area 301!
/docs/commands/operator/autopilot /commands/operator/autopilot 301!
/docs/commands/operator/raft /commands/operator/raft 301!
/docs/commands/operator/raft.html /commands/operator/raft 301!
/docs/commands/reload /commands/reload 301!
/docs/commands/rft /commands/rft 301!
/docs/commands/rtt /commands/rtt 301!
/docs/commands/services /commands/services 301!
/docs/commands/services/register /commands/services/register 301!
/docs/commands/services/deregister /commands/services/deregister 301!
/docs/commands/snapshot /commands/snapshot 301!
/docs/commands/snapshot/agent /commands/snapshot/agent 301!
/docs/commands/snapshot/agent.html /commands/snapshot/agent 301!
/docs/commands/snapshot/inspect /commands/snapshot/inspect 301!
/docs/commands/snapshot/inspect.html /commands/snapshot/inspect 301!
/docs/commands/snapshot/restore /commands/snapshot/restore 301!
/docs/commands/snapshot/restore.html /commands/snapshot/restore 301!
/docs/commands/snapshot/save /commands/snapshot/save 301!
/docs/commands/snapshot/save.html /commands/snapshot/save 301!
/docs/commands/tls /commands/tls 301!
/docs/commands/tls/ca /commands/tls/ca 301!
/docs/commands/tls/cert /commands/tls/cert 301!
/docs/commands/validate /commands/validate 301!
/docs/commands/version /commands/version 301!
/docs/commands/watch /commands/watch 301!
/commands/index /commands 301!
# CLI renames
/docs/commands/acl/acl-bootstrap.html /commands/acl/bootstrap 301!
/docs/commands/acl/acl-bootstrap /commands/acl/bootstrap 301!
/docs/commands/acl/acl-policy.html /commands/acl/policy 301!
/docs/commands/acl/acl-policy /commands/acl/policy 301!
/docs/commands/acl/acl-set-agent-token.html /commands/acl/set-agent-token 301!
/docs/commands/acl/acl-set-agent-token /commands/acl/set-agent-token 301!
/docs/commands/acl/acl-token.html /commands/acl/token 301!
/docs/commands/acl/acl-token /commands/acl/token 301!
/docs/commands/acl/acl-translate-rules.html /commands/acl/translate-rules 301!
/docs/commands/acl/acl-translate-rules /commands/acl/translate-rules 301!
# Consul Learn Redirects
/docs/guides/acl.html https://learn.hashicorp.com/consul/security-networking/production-acls 301!
/docs/guides/acl https://learn.hashicorp.com/consul/security-networking/production-acls 301!
/docs/guides/agent-encryption.html https://learn.hashicorp.com/consul/security-networking/agent-encryption 301!
/docs/guides/agent-encryption https://learn.hashicorp.com/consul/security-networking/agent-encryption 301!
/docs/guides/autopilot.html https://learn.hashicorp.com/consul/day-2-operations/autopilot 301!
/docs/guides/autopilot https://learn.hashicorp.com/consul/day-2-operations/autopilot 301!
/docs/guides/backup.html https://learn.hashicorp.com/consul/datacenter-deploy/backup 301!
/docs/guides/backup https://learn.hashicorp.com/consul/datacenter-deploy/backup 301!
/docs/guides/cluster-monitoring-metrics.html https://learn.hashicorp.com/consul/day-2-operations/monitoring 301!
/docs/guides/cluster-monitoring-metrics https://learn.hashicorp.com/consul/day-2-operations/monitoring 301!
/docs/guides/creating-certificates.html https://learn.hashicorp.com/consul/security-networking/certificates 301!
/docs/guides/creating-certificates https://learn.hashicorp.com/consul/security-networking/certificates 301!
/docs/guides/deployment-guide.html https://learn.hashicorp.com/consul/datacenter-deploy/deployment-guide 301!
/docs/guides/deployment-guide https://learn.hashicorp.com/consul/datacenter-deploy/deployment-guide 301!
/docs/guides/deployment.html https://learn.hashicorp.com/consul/datacenter-deploy/reference-architecture 301!
/docs/guides/deployment https://learn.hashicorp.com/consul/datacenter-deploy/reference-architecture 301!
/docs/guides/dns-cache.html https://learn.hashicorp.com/consul/security-networking/dns-caching 301!
/docs/guides/dns-cache https://learn.hashicorp.com/consul/security-networking/dns-caching 301!
/docs/guides/minikube.html https://learn.hashicorp.com/consul/getting-started-k8s/minikube 301!
/docs/guides/minikube https://learn.hashicorp.com/consul/getting-started-k8s/minikube 301!
/docs/guides/connect-production.html https://learn.hashicorp.com/consul/developer-segmentation/connect-production 301!
/docs/guides/connect-production https://learn.hashicorp.com/consul/developer-segmentation/connect-production 301!
/docs/guides/connect-envoy.html https://learn.hashicorp.com/consul/developer-segmentation/connect-envoy 301!
/docs/guides/connect-envoy https://learn.hashicorp.com/consul/developer-segmentation/connect-envoy 301!
/docs/guides/consul-template.html https://learn.hashicorp.com/consul/developer-configuration/consul-template 301!
/docs/guides/consul-template https://learn.hashicorp.com/consul/developer-configuration/consul-template 301!
/docs/guides/consul-aws.html https://learn.hashicorp.com/consul/cloud-integrations/consul-aws 301!
/docs/guides/consul-aws https://learn.hashicorp.com/consul/cloud-integrations/consul-aws 301!
/docs/guides/forwarding.html https://learn.hashicorp.com/consul/security-networking/forwarding 301!
/docs/guides/forwarding https://learn.hashicorp.com/consul/security-networking/forwarding 301!
/docs/guides/external.html https://learn.hashicorp.com/consul/developer-discovery/external 301!
/docs/guides/external https://learn.hashicorp.com/consul/developer-discovery/external 301!
/docs/guides/advanced-federation.html https://learn.hashicorp.com/consul/day-2-operations/advanced-federation 301!
/docs/guides/advanced-federation https://learn.hashicorp.com/consul/day-2-operations/advanced-federation 301!
/docs/guides/datacenters.html https://learn.hashicorp.com/consul/security-networking/datacenters 301!
/docs/guides/datacenters https://learn.hashicorp.com/consul/security-networking/datacenters 301!
/docs/guides/geo-failover.html https://learn.hashicorp.com/consul/developer-discovery/geo-failover 301!
/docs/guides/geo-failover https://learn.hashicorp.com/consul/developer-discovery/geo-failover 301!
/docs/guides/leader-election.html https://learn.hashicorp.com/consul/developer-configuration/elections 301!
/docs/guides/leader-election https://learn.hashicorp.com/consul/developer-configuration/elections 301!
/docs/guides/monitoring-telegraf.html https://learn.hashicorp.com/consul/integrations/telegraf 301!
/docs/guides/monitoring-telegraf https://learn.hashicorp.com/consul/integrations/telegraf 301!
/docs/guides/network-segments.html https://learn.hashicorp.com/consul/day-2-operations/network-segments 301!
/docs/guides/network-segments https://learn.hashicorp.com/consul/day-2-operations/network-segments 301!
/docs/guides/semaphore.html https://learn.hashicorp.com/consul/developer-configuration/semaphore 301!
/docs/guides/semaphore https://learn.hashicorp.com/consul/developer-configuration/semaphore 301!
/docs/guides/windows-guide.html https://learn.hashicorp.com/consul/datacenter-deploy/windows 301!
/docs/guides/windows-guide https://learn.hashicorp.com/consul/datacenter-deploy/windows 301!
/docs/guides/consul-containers.html https://hub.docker.com/_/consul 301!
/docs/guides/consul-containers https://hub.docker.com/_/consul 301!
/docs/guides/kubernetes-reference.html https://learn.hashicorp.com/consul/day-1-operations/kubernetes-reference 301!
/docs/guides/kubernetes-reference https://learn.hashicorp.com/consul/day-1-operations/kubernetes-reference 301!
/docs/guides/outage.html https://learn.hashicorp.com/consul/day-2-operations/outage 301!
/docs/guides/outage https://learn.hashicorp.com/consul/day-2-operations/outage 301!
/docs/platform/k8s/minikube.html https://learn.hashicorp.com/consul/kubernetes/minikube 301!
/docs/platform/k8s/aks.html https://learn.hashicorp.com/consul/kubernetes/azure-k8s 301!
/docs/platform/k8s/eks.html https://learn.hashicorp.com/consul/kubernetes/aws-k8s 301!
/docs/platform/k8s/gke.html https://learn.hashicorp.com/consul/kubernetes/google-cloud-k8s 301!
# Glob Redirects, Ported from Varnish
/intro/index /intro 301!
/intro/getting-started https://learn.hashicorp.com/consul?track=getting-started#getting-started 301!
/intro/getting-started/index.html https://learn.hashicorp.com/consul?track=getting-started#getting-started 301!
/intro/getting-started/* https://learn.hashicorp.com/consul/getting-started/:splat 301!
/docs/agent/http/* /api/:splat 301!
/docs/agent/http.html /api 301!
/docs/agent/http /api 301!
# Replatforming Redirects
/guides /docs/guides 301!
/api-docs/index /api-docs 301!
/api/acl.html /api-docs/acl 301!
/api/acl/acl.html /api-docs/acl 301!
/api/acl/acl /api-docs/acl 301!
/api/agent.html /api-docs/agent 301!
/api/connect.html /api-docs/connect 301!
/api/operator.html /api-docs/operator 301!
/api/*/index.html /api-docs/:splat 301!
/api/* /api-docs/:splat 200
/api-docs/features /api-docs/features/consistency 301!
/docs/upgrading.html /docs/upgrading 301!
/docs/upgrade-specific /docs/upgrading/upgrade-specific 301!
/docs/upgrade-specific.html /docs/upgrading/upgrade-specific 301!
/docs/compatibility /docs/upgrading/compatibility 301!
/docs/compatibility.html /docs/upgrading/compatibility 301!
/docs/commands/acl/binding-rule.html /docs/commands/acl/binding-rule 301!
/docs/commands/acl/auth-method.html /docs/commands/acl/auth-method 301!
/docs/commands/acl/policy.html /docs/commands/acl/policy 301!
/docs/commands/acl/role.html /docs/commands/acl/role 301!
/docs/commands/acl/token.html /docs/commands/acl/token 301!
/docs/commands/acl/role/create /commands/acl/role/create 301!
/docs/commands/acl/role/delete /commands/acl/role/delete 301!
/docs/commands/acl/role/list /commands/acl/role/list 301!
/docs/commands/acl/role/read /commands/acl/role/read 301!
/docs/commands/acl/role/read.html /commands/acl/role/read 301!
/docs/commands/acl/role/update /commands/acl/role/update 301!
/docs/commands/catalog.html /docs/commands/catalog 301!
/docs/commands/config.html /docs/commands/config 301!
/docs/commands/connect.html /docs/commands/connect 301!
/docs/commands/intention.html /docs/commands/intention 301!
/docs/commands/kv.html /docs/commands/kv 301!
/docs/commands/namespace.html /docs/commands/namespace 301!
/docs/commands/operator.html /docs/commands/operator 301!
/docs/commands/services.html /docs/commands/services 301!
/docs/commands/snapshot.html /docs/commands/snapshot 301!
/docs/commands/tls.html /docs/commands/tls 301!
/docs/agent/basics.html /docs/agent 301!
/docs/agent/basics /docs/agent 301!
/docs/agent/config_entries.html /docs/agent/config-entries 301!
/docs/agent/config_entries /docs/agent/config-entries 301!
/docs/acl/acl-auth-methods.html /docs/acl/auth-methods 301!
/docs/acl/acl-auth-methods /docs/acl/auth-methods 301!
/docs/connect/proxies.html /docs/connect/proxies 301!
/docs/connect/registration.html /docs/connect/registration 301!
/docs/connect/ca.html /docs/connect/ca 301!
/docs/connect/native.html /docs/connect/native 301!
/docs/connect/platform/nomad.html /docs/connect/nomad 301!
/docs/connect/platform/nomad /docs/connect/nomad 301!
/docs/platform/k8s/run.html /docs/k8s/installation/install 301!
/docs/platform/k8s/run /docs/k8s/installation/install 301!
/docs/platform/k8s/consul-enterprise.html /docs/k8s/installation/deployment-configurations/consul-enterprise 301!
/docs/platform/k8s/consul-enterprise /docs/k8s/installation/deployment-configurations/consul-enterprise 301!
/docs/platform/k8s/clients-outside-kubernetes.html /docs/k8s/installation/deployment-configurations/clients-outside-kubernetes 301!
/docs/platform/k8s/clients-outside-kubernetes /docs/k8s/installation/deployment-configurations/clients-outside-kubernetes 301!
/docs/platform/k8s/servers-outside-kubernetes.html /docs/k8s/installation/deployment-configurations/servers-outside-kubernetes 301!
/docs/platform/k8s/servers-outside-kubernetes /docs/k8s/installation/deployment-configurations/servers-outside-kubernetes 301!
/docs/platform/k8s/predefined-pvcs.html /docs/k8s/installation/platforms/self-hosted-kubernetes 301!
/docs/platform/k8s/predefined-pvcs /docs/k8s/installation/platforms/self-hosted-kubernetes 301!
/docs/platform/k8s/operations.html /docs/k8s/operations 301!
/docs/platform/k8s/operations /docs/k8s/operations 301!
/docs/platform/k8s/upgrading.html /docs/k8s/operations/upgrading 301!
/docs/platform/k8s/upgrading /docs/k8s/operations/upgrading 301!
/docs/platform/k8s/tls-on-existing-cluster.html /docs/k8s/operations/tls-on-existing-cluster 301!
/docs/platform/k8s/tls-on-existing-cluster /docs/k8s/operations/tls-on-existing-cluster 301!
/docs/platform/k8s/uninstalling.html /docs/k8s/operations/upgrading 301!
/docs/platform/k8s/uninstalling /docs/k8s/operations/upgrading 301!
/docs/platform/k8s/* /docs/k8s/:splat 301!
/docs/nia/installation/configuration /docs/nia/configuration 301!
/docs/partnerships/index.html /docs/partnerships 301!
/docs/enterprise/backups/index.html /docs/enterprise/backups 301!
/docs/enterprise/upgrades/index.html /docs/enterprise/upgrades 301!
/docs/enterprise/read-scale/index.html /docs/enterprise/read-scale 301!
/docs/enterprise/redundancy/index.html /docs/enterprise/redundancy 301!
/docs/enterprise/federation/index.html /docs/enterprise/federation 301!
/docs/enterprise/network-segments/index.html /docs/enterprise/network-segments 301!
/docs/enterprise/namespaces/index.html /docs/enterprise/namespaces 301!
/docs/enterprise/sentinel/index.html /docs/enterprise/sentinel 301!
/use-cases/network-middleware-automation /use-cases/network-infrastructure-automation 301!
/*/index.html /:splat 301!

View File

@ -1,18 +0,0 @@
# This file sets configuration for Netlify
# ref: https://www.netlify.com/docs/netlify-toml-reference/
[build]
publish = "out"
command = "npm run static"
[context.production]
environment = { HASHI_ENV = "production", NODE_ENV = "production"}
[context.deploy-preview]
environment = { HASHI_ENV = "staging" }
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "SAMEORIGIN"

View File

@ -1182,6 +1182,36 @@ module.exports = [
destination: '/use-cases/network-infrastructure-automation',
permanent: true,
},
{
source: '/(/downloads?[-_]tools)',
destination: '/docs/download-tools',
permanent: true,
},
{
source: '/docs/k8s/ambassador',
destination: '/docs/k8s/connect/ambassador',
permanent: true,
},
{
source: '/docs/agent/config-entries/:path',
destination: '/docs/connect/config-entries/:path*',
permanent: true,
},
{
source: '/docs/partnerships',
destination: '/docs/integrate/partnerships',
permanent: true,
},
{
source: '/docs/k8s/installation/overview',
destination: '/docs/k8s/installation/install',
permanent: true,
},
{
source: '/docs/k8s/installation/multi-cluster/overview',
destination: '/docs/k8s/installation/multi-cluster',
permanent: true,
},
// disallow '.html' or '/index.html' in favor of cleaner, simpler paths
{ source: '/:path*/index', destination: '/:path*', permanent: true },
{ source: '/:path*.html', destination: '/:path*', permanent: true },