1
0
mirror of https://github.com/minio/docs.git synced 2025-07-02 05:02:40 +03:00
Files
docs/redirects/old/k8s.nginx
Ravind Kumar 1cc507564c Initial work for git-managed redirects (#556)
This is the initial work for what should be a git-managed set of nginx
configs we can include into the Nginx Docs server.

The idea here is we manage redirects in git, and either chron-copy them
to a location we can include via the sites-available/<file>, *or* we
just include them from the git path (if nginx tolerates that)

I can't really _test_ these right now since they are using live URLs. if
we move forward with the soft-launch, we'll have a few opportunities to
maybe test a subset of these URLs and see what happens.

Please let me know if there is anything *obviously* wrong here.

ToDo: The Legacy Docs redirects
2022-09-20 12:27:40 -04:00

70 lines
2.9 KiB
Nginx Configuration File

# This file contains all redirects for the Kubernetes Documentation for MinIO
# This includes redirecting links from legacy docs and the Docs V1 projects
# Use this as a template
# location <path> {
# return 301 https://min.io/docs/minio/kubernetes/upstream/<filepath>.html?ref=docs-redirect;
# }
location /minio/baremetal/quickstart/k8s.html {
return 301 https://min.io/docs/minio/kubernetes/upstream/operations/index.html?ref=docs-redirect;
}
location /minio/k8s/deployment/deploy-minio-operator.html {
return 301 https://min.io/docs/minio/kubernetes/upstream/operations/installation.html?ref=docs-redirect;
}
location /minio/k8s/tenant-management/deploy-minio-tenant.html {
return 301 https://min.io/docs/minio/kubernetes/upstream/operations/install-deploy-manage/deploy-minio-tenant.html?ref=docs-redirect;
}
location /minio/k8s/core-concepts/core-concepts.html {
return 301 https://min.io/docs/minio/kubernetes/upstream/operations/concepts.html?ref=docs-redirect;
}
location /minio/k8s/tenant-management/manage-minio-tenant.html {
return 301 https://min.io/docs/minio/kubernetes/upstream/operations/deploy-manage-tenants.html?ref=docs-redirect;
}
location /minio/k8s/tutorials/user-management.html {
return 301 https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management/minio-user-management.html?ref=docs-redirect;
}
location /minio/k8s/tutorials/group-management.html {
return 301 https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management/minio-group-management.html?ref=docs-redirect;
}
location /minio/k8s/tutorials/policy-management.html {
return 301 https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management/policy-based-access-control.html?ref=docs-redirect;
}
location /minio/k8s/reference/production-recommendations.html {
return 301 https://min.io/docs/minio/kubernetes/upstream/operations/checklists.html?ref=docs-redirect;
}
location /minio/k8s/operator-console/operator-console.html {
return 301 https://min.io/docs/minio/kubernetes/upstream/operations/install-deploy-manage/minio-operator-console.html?ref=docs-redirect;
}
# OpenShift Specific
# Will need to change these when we have dedicated OS platform docs
# -----------------------------------------------------------------
location /minio/k8s/openshift/deploy-minio-on-openshift.html {
return 302 https://min.io/docs/minio/kubernetes/upstream/operations/installation.html?ref=docs-redirect;
}
location /minio/k8s/openshift/deploy-minio-tenant.html {
return 302 https://min.io/docs/minio/kubernetes/upstream/operations/install-deploy-manage/deploy-minio-tenant.html?ref=docs-redirect;
}
# -----------------------------------------------------------------
# This one *must* be last in the order so as to not override other specific pages
location /minio/k8s {
return 301 https://min.io/docs/minio/kubernetes/upstream/index.html?ref=docs-redirect;
}