mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
add netlify redirects
This commit is contained in:
parent
71364e94ea
commit
3e54ae4d19
@ -6,6 +6,9 @@ activate :hashicorp do |h|
|
|||||||
h.github_slug = "hashicorp/consul"
|
h.github_slug = "hashicorp/consul"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Netlify redirects/headers
|
||||||
|
proxy '_redirects', 'netlify-redirects', ignore: true
|
||||||
|
|
||||||
helpers do
|
helpers do
|
||||||
# Returns a segment tracking ID such that local development is not
|
# Returns a segment tracking ID such that local development is not
|
||||||
# tracked to production systems.
|
# tracked to production systems.
|
||||||
|
22
website/source/netlify-redirects
Normal file
22
website/source/netlify-redirects
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# Consul Redirects
|
||||||
|
/api.html /api/index.html
|
||||||
|
/api/acl.html /api/acl/acl.html
|
||||||
|
/docs/agent/acl-rules.html /docs/acl/acl-rules.html
|
||||||
|
/docs/agent/acl-system.html /docs/acl/acl-system.html
|
||||||
|
/docs/agent/http.html /api/index.html
|
||||||
|
/docs/guides/acl-legacy.html /docs/acl/acl-legacy.html
|
||||||
|
/docs/guides/acl-migrate-acl-tokens.html /docs/acl/acl-migrate-acl-tokens.html
|
||||||
|
/docs/guides/bootstrapping.html /docs/install/bootstrapping.html
|
||||||
|
/docs/guides/sentinel.html /docs/agent/sentinel.html
|
||||||
|
|
||||||
|
# Consul Learn Redirects
|
||||||
|
/docs/guides/acl.html https://learn.hashicorp.com/consul/advanced/day-1-operations/acl-guide
|
||||||
|
/docs/guides/agent-encryption.html https://learn.hashicorp.com/consul/advanced/day-1-operations/agent-encryption
|
||||||
|
/docs/guides/autopilot.html https://learn.hashicorp.com/consul/day-2-operations/advanced-operations/autopilot
|
||||||
|
/docs/guides/backup.html https://learn.hashicorp.com/consul/advanced/day-1-operations/backup
|
||||||
|
/docs/guides/cluster-monitoring-metrics.html https://learn.hashicorp.com/consul/advanced/day-1-operations/monitoring
|
||||||
|
/docs/guides/creating-certificates.html https://learn.hashicorp.com/consul/advanced/day-1-operations/certificates
|
||||||
|
/docs/guides/deployment-guide.html https://learn.hashicorp.com/consul/advanced/day-1-operations/deployment-guide
|
||||||
|
/docs/guides/deployment.html https://learn.hashicorp.com/consul/advanced/day-1-operations/reference-architecture
|
||||||
|
/docs/guides/dns-cache.html https://learn.hashicorp.com/consul/day-2-operations/advanced-operations/dns-caching
|
||||||
|
/docs/guides/minikube.html https://learn.hashicorp.com/consul/getting-started-k8s/minikube
|
Loading…
x
Reference in New Issue
Block a user