#
# REDIRECTS FILE
#
# This is a sample redirect file. Redirects allow individual projects to add
# their own redirect rules in a declarative manner using Fastly edge
# dictionaries.
#
# FORMAT
#
# Redirects are in the format. There must be at least one space between the
# original path and the new path, and there must be exactly two entries per
# line.
#
#     /original-path    /new-path
#
# GLOB MATCHING
#
# Because of the way lookup tables work, there is no support for glob matching.
# Fastly does not provide a way to iterate through the lookup table, so it is
# not possible to run through the table and find anything that matches. As such
# URLs must match directly.
#
# More complex redirects are possible, but must be added directly to the
# configuration. Please contact the release engineering team for assistance.
#
# DELETING
#
# Deleting items is not supported at this time. To delete an item, contact the
# release engineering team and they will delete the dictionary item.
#
# MISC
#
# - Blank lines are ignored
# - Comments are hash-style
# - URLs are limited to 256 characters
# - Items are case-sensitive (please use all lowercase)
#

# Nomad Learn Redirects
/intro/getting-started/install.html     https://learn.hashicorp.com/nomad/getting-started/install
/intro/getting-started/running.html     https://learn.hashicorp.com/nomad/getting-started/running
/intro/getting-started/jobs.html        https://learn.hashicorp.com/nomad/getting-started/jobs
/intro/getting-started/cluster.html     https://learn.hashicorp.com/nomad/getting-started/cluster
/intro/getting-started/ui.html          https://learn.hashicorp.com/nomad/getting-started/ui
/intro/getting-started/next-steps.html  https://learn.hashicorp.com/nomad/getting-started/next-steps

/guides/load-balancing/fabio.html       https://learn.hashicorp.com/nomad/load-balancing/fabio
/guides/load-balancing/nginx.html       https://learn.hashicorp.com/nomad/load-balancing/nginx
/guides/load-balancing/haproxy.html     https://learn.hashicorp.com/nomad/load-balancing/haproxy
/guides/load-balancing/traefik.html     https://learn.hashicorp.com/nomad/load-balancing/traefik

/guides/stateful-workloads/host-volumes.html  https://learn.hashicorp.com/nomad/stateful-workloads/host-volumes
/guides/stateful-workloads/portworx.html      https://learn.hashicorp.com/nomad/stateful-workloads/portworx

/guides/web-ui/access.html                  https://learn.hashicorp.com/nomad/web-ui/access
/guides/web-ui/submitting-a-job.html        https://learn.hashicorp.com/nomad/web-ui/ui-workload
/guides/web-ui/operating-a-job.html         https://learn.hashicorp.com/nomad/web-ui/submit-job
/guides/web-ui/inspecting-the-cluster.html  https://learn.hashicorp.com/nomad/web-ui/inspecting-the-cluster
/guides/web-ui/securing.html                https://learn.hashicorp.com/nomad/web-ui/access

/guides/governance-and-policy/namespaces.html                https://learn.hashicorp.com/nomad/governance-and-policy/namespaces
/guides/governance-and-policy/quotas.html                    https://learn.hashicorp.com/nomad/governance-and-policy/quotas
/guides/governance-and-policy/sentinel/sentinel-policy.html  https://learn.hashicorp.com/nomad/governance-and-policy/sentinel
/guides/governance-and-policy/sentinel/job.html              https://learn.hashicorp.com/nomad/governance-and-policy/sentinel

# Website
/community.html                               /resources.html

# Docs
/docs/index                                   /docs/index.html
/api/index                                    /api/index.html
/resources                                    /resources.html
/docs/agent/config.html                       /docs/configuration/index.html
/docs/jobops                                  /guides/operating-a-job/index.html
/docs/jobops/                                 /guides/operating-a-job/index.html
/docs/jobops/index.html                       /guides/operating-a-job/index.html
/docs/jobops/taskconfig.html                  /guides/operating-a-job/configuring-tasks.html
/docs/jobops/inspecting.html                  /guides/operating-a-job/inspecting-state.html
/docs/jobops/resources.html                   /guides/operating-a-job/resource-utilization.html
/docs/jobops/logs.html                        /guides/operating-a-job/accessing-logs.html
/docs/jobops/updating.html                    /guides/operating-a-job/update-strategies/index.html
/docs/jobops/servicediscovery.html            /guides/operations/consul-integration/index.html
/docs/jobspec                                 /docs/job-specification/index.html
/docs/jobspec/                                /docs/job-specification/index.html
/docs/jobspec/index.html                      /docs/job-specification/index.html
/docs/jobspec/interpreted.html                /docs/runtime/interpolation.html
/docs/jobspec/json.html                       /api/json-jobs.html
/docs/jobspec/environment.html                /docs/runtime/environment.html
/docs/jobspec/schedulers.html                 /docs/schedulers.html
/docs/jobspec/servicediscovery.html           /docs/job-specification/service.html
/docs/jobspec/networking.html                 /docs/job-specification/network.html
/docs/cluster/automatic.html                  /guides/operations/cluster/automatic.html
/docs/cluster/manual.html                     /guides/operations/cluster/manual.html
/docs/cluster/federation.html                 /guides/operations/federation.html
/docs/cluster/requirements.html               /guides/operations/requirements.html
/docs/commands/operator-index.html            /docs/commands/operator.html
/docs/commands/operator-raft-list-peers.html  /docs/commands/operator/raft-list-peers.html
/docs/commands/operator-raft-remove-peer.html /docs/commands/operator/raft-remove-peer.html
/docs/commands/job-dispatch.html              /docs/commands/job/dispatch.html
/docs/commands/alloc-status.html              /docs/commands/alloc/status.html
/docs/commands/fs.html                        /docs/commands/alloc/fs.html
/docs/commands/logs.html                      /docs/commands/alloc/logs.html
/docs/commands/init.html                      /docs/commands/job/init.html
/docs/commands/inspect.html                   /docs/commands/job/inspect.html
/docs/commands/run.html                       /docs/commands/job/run.html
/docs/commands/stop.html                      /docs/commands/job/stop.html
/docs/commands/plan.html                      /docs/commands/job/plan.html
/docs/commands/validate.html                  /docs/commands/job/validate.html
/docs/commands/client-config.html             /docs/commands/node/config.html
/docs/commands/node-drain.html                /docs/commands/node/drain.html
/docs/commands/node-status.html               /docs/commands/node/status.html
/docs/commands/keygen.html                    /docs/commands/operator/keygen.html
/docs/commands/keyring.html                   /docs/commands/operator/keyring.html
/docs/commands/server-force-leave.html        /docs/commands/server/force-leave.html
/docs/commands/server-join.html               /docs/commands/server/join.html
/docs/commands/server-members.html            /docs/commands/server/members.html
/docs/runtime/schedulers.html                 /docs/schedulers.html
/docs/internals/scheduling.html               /docs/internals/scheduling/scheduling.html

# Moved /docs/operating-a-job/ -> /guides/operating-a-job/
/docs/operating-a-job                           /guides/operating-a-job/index.html
/docs/operating-a-job/                          /guides/operating-a-job/index.html
/docs/operating-a-job/index.html                /guides/operating-a-job/index.html
/docs/operating-a-job/accessing-logs.html       /guides/operating-a-job/accessing-logs.html
/docs/operating-a-job/inspecting-state.html     /guides/operating-a-job/inspecting-state.html
/docs/operating-a-job/resource-utilization.html /guides/operating-a-job/resource-utilization.html
/docs/operating-a-job/configuring-tasks.html    /guides/operating-a-job/configuring-tasks.html
/docs/operating-a-job/submitting-jobs.html      /guides/operating-a-job/submitting-jobs.html

/docs/operating-a-job/failure-handling-strategies                    /guides/operating-a-job/failure-handling-strategies/index.html
/docs/operating-a-job/failure-handling-strategies/                   /guides/operating-a-job/failure-handling-strategies/index.html
/docs/operating-a-job/failure-handling-strategies/index.html         /guides/operating-a-job/failure-handling-strategies/index.html
/docs/operating-a-job/failure-handling-strategies/check-restart.html /guides/operating-a-job/failure-handling-strategies/check-restart.html
/docs/operating-a-job/failure-handling-strategies/reschedule.html    /guides/operating-a-job/failure-handling-strategies/reschedule.html
/docs/operating-a-job/failure-handling-strategies/restart.html       /guides/operating-a-job/failure-handling-strategies/restart.html

/docs/operating-a-job/update-strategies                                        /guides/operating-a-job/update-strategies/index.html
/docs/operating-a-job/update-strategies/                                       /guides/operating-a-job/update-strategies/index.html
/docs/operating-a-job/update-strategies/index.html                             /guides/operating-a-job/update-strategies/index.html
/docs/operating-a-job/update-strategies/blue-green-and-canary-deployments.html /guides/operating-a-job/update-strategies/blue-green-and-canary-deployments.html
/docs/operating-a-job/update-strategies/handling-signals.html                  /guides/operating-a-job/update-strategies/handling-signals.html
/docs/operating-a-job/update-strategies/rolling-upgrades.html                  /guides/operating-a-job/update-strategies/rolling-upgrades.html

# Moved /docs/agent/configuration/ -> /docs/configuration/

/docs/agent/configuration                  /docs/configuration/index.html
/docs/agent/configuration/                 /docs/configuration/index.html
/docs/agent/configuration/index.html       /docs/configuration/index.html
/docs/agent/configuration/acl.html         /docs/configuration/acl.html
/docs/agent/configuration/autopilot.html   /docs/configuration/autopilot.html
/docs/agent/configuration/client.html      /docs/configuration/client.html
/docs/agent/configuration/consul.html      /docs/configuration/consul.html
/docs/agent/configuration/sentinel.html    /docs/configuration/sentinel.html
/docs/agent/configuration/server.html      /docs/configuration/server.html
/docs/agent/configuration/server_join.html /docs/configuration/server_join.html
/docs/agent/configuration/telemetry.html   /docs/configuration/telemetry.html
/docs/agent/configuration/tls.html         /docs/configuration/tls.html
/docs/agent/configuration/vault.html       /docs/configuration/vault.html

# Moved guide-like docs to /guides
/docs/agent                                   /guides/operations/agent/index.html
/docs/agent/                                  /guides/operations/agent/index.html
/docs/agent/index.html                        /guides/operations/agent/index.html
/docs/agent/cloud_auto_join.html              /guides/operations/cluster/cloud_auto_join.html
/docs/agent/telemetry.html                    /guides/operations/monitoring/telemetry.html
/docs/agent/encryption.html                   /guides/security/encryption.html
/docs/install                                 /guides/operations/install/index.html
/docs/install/                                /guides/operations/install/index.html
/docs/install/index.html                      /guides/operations/install/index.html
/docs/upgrade                                 /guides/operations/upgrade/index.html
/docs/upgrade/                                /guides/operations/upgrade/index.html
/docs/upgrade/index.html                      /guides/operations/upgrade/index.html
/docs/upgrade/upgrade-specific.html           /guides/operations/upgrade/upgrade-specific.html
/docs/service-discovery                       /guides/operations/consul-integration/index.html
/docs/service-discovery/                      /guides/operations/consul-integration/index.html
/docs/service-discovery/index.html            /guides/operations/consul-integration/index.html

# Redirect old LXC driver doc to new one in /docs/external
/docs/drivers/lxc.html                        /docs/drivers/external/lxc.html

# API
/docs/http/index.html                   /api/index.html
/docs/http/json-jobs.html               /api/json-jobs.html
/docs/http/job.html                     /api/jobs.html
/docs/http/jobs.html                    /api/jobs.html
/docs/http/node.html                    /api/nodes.html
/docs/http/nodes.html                   /api/nodes.html
/docs/http/alloc.html                   /api/allocations.html
/docs/http/allocs.html                  /api/allocations.html
/docs/http/eval.html                    /api/evaluations.html
/docs/http/evals.html                   /api/evaluations.html
/docs/http/agent-self.html              /api/agent.html
/docs/http/agent-join.html              /api/agent.html
/docs/http/agent-members.html           /api/agent.html
/docs/http/agent-force-leave.html       /api/agent.html
/docs/http/agent-servers.html           /api/agent.html
/docs/http/client-fs.html               /api/client.html
/docs/http/client-stats.html            /api/client.html
/docs/http/client-allocation-stats.html /api/client.html
/docs/http/regions.html                 /api/regions.html
/docs/http/status.html                  /api/status.html
/docs/http/operator.html                /api/operator.html
/docs/http/system.html                  /api/system.html

# Guides

# Reorganized Guides by Persona
/guides/autopilot.html             /guides/operations/autopilot.html
/guides/cluster/automatic.html     /guides/operations/cluster/automatic.html
/guides/cluster/bootstrapping.html /guides/operations/cluster/bootstrapping.html
/guides/cluster/manual.html        /guides/operations/cluster/manual.html
/guides/cluster/federation         /guides/operations/federation
/guides/cluster/requirements.html  /guides/operations/requirements.html
/guides/nomad-metrics.html         /guides/operations/monitoring/nomad-metrics.html
/guides/node-draining.html         /guides/operations/node-draining.html
/guides/outage.html                /guides/operations/outage.html
/guides/acl.html                   /guides/security/acl.html
/guides/namespaces.html            https://learn.hashicorp.com/nomad/governance-and-policy/namespaces
/guides/quotas.html                https://learn.hashicorp.com/nomad/governance-and-policy/quotas
/guides/securing-nomad.html        /guides/security/securing-nomad.html
/guides/sentinel-policy.html       https://learn.hashicorp.com/nomad/governance-and-policy/sentinel
/guides/sentinel/job.html          https://learn.hashicorp.com/nomad/governance-and-policy/sentinel

/guides/analytical-workloads/spark/spark.html     /guides/analytical-workloads/spark/index.html
/guides/spark                                     /guides/analytical-workloads/spark/index.html
/guides/spark/                                    /guides/analytical-workloads/spark/index.html
/guides/spark/index.html                          /guides/analytical-workloads/spark/index.html
/guides/spark/spark.html                          /guides/analytical-workloads/spark/index.html
/guides/spark/pre.html                            /guides/analytical-workloads/spark/pre.html
/guides/security/namespaces.html                  /guides/governance-and-policy/namespaces.html
/guides/security/quotas.html                      /guides/governance-and-policy/quotas.html
/guides/security/sentinel/job.html                /guides/governance-and-policy/sentinel/job.html
/guides/security/sentinel-policy.html             /guides/governance-and-policy/sentinel/sentinel-policy.html
/guides/operations/install/index.html             /guides/install/index.html
/guides/operations/deployment-guide.html          /guides/install/production/deployment-guide.html
/guides/operations/agent/index.html               /guides/install/production/nomad-agent.html
/guides/operations/reference-architecture.html    /guides/install/production/reference-architecture.html
/guides/operations/requirements.html              /guides/install/production/requirements.html
/guides/operations/consul-integration/index.html  /guides/integrations/consul-integration/index.html
/guides/operations/vault-integration/index.html   /guides/integrations/vault-integration/index.html
/guides/advanced-scheduling/                      /guides/operating-a-job/advanced-scheduling/
/guides/external                                  /guides/operating-a-job/external/index.html
/guides/external/                                 /guides/operating-a-job/external/index.html
/guides/external/index.html                       /guides/operating-a-job/external/index.html
/guides/external/lxc.html                         /guides/operating-a-job/external/lxc.html
/guides/operations/upgrade                        /guides/upgrade/index.html
/guides/operations/upgrade/                       /guides/upgrade/index.html
/guides/operations/upgrade/index.html             /guides/upgrade/index.html
/guides/operations/upgrade/upgrade-specific.html  /guides/upgrade/upgrade-specific.html

# Multi-part UI guides
/guides/ui.html  https://learn.hashicorp.com/nomad?track=web-ui#web-ui

# Enterprise

# Reorganized Enterprise into single pager
/docs/enterprise/namespaces                       /docs/enterprise/index.html#namespaces
/docs/enterprise/namespaces/                      /docs/enterprise/index.html#namespaces
/docs/enterprise/namespaces/index.html            /docs/enterprise/index.html#namespaces
/docs/enterprise/quotas                           /docs/enterprise/index.html#resource-quotas
/docs/enterprise/quotas/                          /docs/enterprise/index.html#resource-quotas
/docs/enterprise/quotas/index.html                /docs/enterprise/index.html#resource-quotas
/docs/enterprise/preemption                       /docs/enterprise/index.html#preemption
/docs/enterprise/preemption/                      /docs/enterprise/index.html#preemption
/docs/enterprise/preemption/index.html            /docs/enterprise/index.html#preemption
/docs/enterprise/sentinel                         /docs/enterprise/index.html#sentinel-policies
/docs/enterprise/sentinel/                        /docs/enterprise/index.html#sentinel-policies
/docs/enterprise/sentinel/index.html              /docs/enterprise/index.html#sentinel-policies
/docs/enterprise/autopilot                        /docs/enterprise/index.html#nomad-enterprise-platform
/docs/enterprise/autopilot/                       /docs/enterprise/index.html#nomad-enterprise-platform
/docs/enterprise/autopilot/index.html             /docs/enterprise/index.html#nomad-enterprise-platform
