From 373fafb4afd35f19f204ed584a8e9197cc73219c Mon Sep 17 00:00:00 2001 From: Geoffrey Grosenbach Date: Fri, 16 Nov 2018 11:09:32 -0800 Subject: [PATCH] Document Fastly redirects (#4887) * Adds note about use of Fastly VCL for redirects Some redirects are not possible with a redirect file, so we send traffic to learn.hashicorp.com with custom VCL (Varnish) handlers using the Fastly web admin. Future migrations of content to learn.hashicorp.com should also use this approach. --- website/redirects.txt | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/website/redirects.txt b/website/redirects.txt index b750386357..fd8193f0dd 100644 --- a/website/redirects.txt +++ b/website/redirects.txt @@ -40,14 +40,7 @@ /docs/agent/http.html /api/index.html /api/acl.html /api/acl/acl.html -# These redirect in Fastly do not use this redirects file. They are here for completeness. - -# /intro/getting-started/install.html https://learn.hashicorp.com/consul/getting-started/install.html -# /intro/getting-started/agent.html https://learn.hashicorp.com/consul/getting-started/agent.html -# /intro/getting-started/services.html https://learn.hashicorp.com/consul/getting-started/services.html -# /intro/getting-started/connect.html https://learn.hashicorp.com/consul/getting-started/connect.html -# /intro/getting-started/join.html https://learn.hashicorp.com/consul/getting-started/join.html -# /intro/getting-started/checks.html https://learn.hashicorp.com/consul/getting-started/checks.html -# /intro/getting-started/kv.html https://learn.hashicorp.com/consul/getting-started/kv.html -# /intro/getting-started/ui.html https://learn.hashicorp.com/consul/getting-started/ui.html -# /intro/getting-started/next-steps.html https://learn.hashicorp.com/consul/getting-started/next-steps.html +# NOTE: Do not use this redirects file. +# A custom VCL (Varnish) configuration in the Fastly web admin has been +# used to redirect from `/intro/getting-started/*` to subpaths of +# https://learn.hashicorp.com/consul/