diff --git a/nginx.conf b/nginx.conf index ea1bf02fb8..0dee0dd78e 100644 --- a/nginx.conf +++ b/nginx.conf @@ -220,17 +220,29 @@ map $request_uri $redirect_uri { # Redirects for Rancher Manager Docusaurus docs + ~^/docs/rancher/v2.8/?$ https://ranchermanager.docs.rancher.com/v2.8; + ~^/docs/rancher/v2.8/en/?$ https://ranchermanager.docs.rancher.com/v2.8; + ~^/docs/rancher/v2.8/en/admin-settings/authentication/google/?$ https://ranchermanager.docs.rancher.com/v2.8/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/configure-google-oauth; + ~^/docs/rancher/v2.8/en/monitoring-alerting/configuration/?$ https://ranchermanager.docs.rancher.com/v2.8/pages-for-subheaders/monitoring-v2-configuration-guides; + ~^/docs/rancher/v2.8/en/cluster-provisioning/rke-clusters/behavior-differences-between-rke1-and-rke2/?$ https://ranchermanager.docs.rancher.com/v2.8/how-to-guides/new-user-guides/launch-kubernetes-with-rancher/rke1-vs-rke2-differences; + ~^/docs/rancher/v2.8/en/monitoring-alerting/?$ https://ranchermanager.docs.rancher.com/v2.8/pages-for-subheaders/monitoring-and-alerting; + ~^/docs/rancher/v2.8/en/faq/telemetry/?$ https://ranchermanager.docs.rancher.com/v2.8/faq/telemetry; + ~^/docs/rancher/v2.8/en/istio/?$ https://ranchermanager.docs.rancher.com/v2.8/pages-for-subheaders/istio; + ~^/docs/rancher/v2.8/en/security/security-scan/?$ https://ranchermanager.docs.rancher.com/v2.8/pages-for-subheaders/cis-scans; + ~^/docs/rancher/v2.8/en/cluster-admin/tools/monitoring/?$ https://ranchermanager.docs.rancher.com/v2.8/pages-for-subheaders/monitoring-and-alerting; + ~^/docs/rancher/v2.8/en/cluster-provisioning/rke-clusters/options/?$ https://ranchermanager.docs.rancher.com/v2.8/reference-guides/cluster-configuration/rancher-server-configuration/rke1-cluster-configuration; + ~^/docs/rancher/v2.8/en/installing-rancher/installing-server/basic-ssl-config/?$ https://ranchermanager.docs.rancher.com/v2.8/pages-for-subheaders/install-upgrade-on-a-kubernetes-cluster#3-choose-your-ssl-configuration; + ~^/docs/rancher/v2.8/en/cluster-provisioning/hosted-kubernetes-clusters/gke/?$ https://ranchermanager.docs.rancher.com/v2.8/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-clusters-from-hosted-kubernetes-providers/gke; + ~^/docs/rancher/v2.8/en/cluster-provisioning/hosted-kubernetes-clusters/aks/?$ https://ranchermanager.docs.rancher.com/v2.8/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-clusters-from-hosted-kubernetes-providers/aks; + ~^/docs/rancher/v2.7/?$ https://ranchermanager.docs.rancher.com/v2.7; ~^/docs/rancher/v2.7/en/?$ https://ranchermanager.docs.rancher.com/v2.7; - ~^/docs/rancher/v2.7/en/admin-settings/authentication/google/?$ https://ranchermanager.docs.rancher.com/v2.7/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/configure-google-oauth; ~^/docs/rancher/v2.7/en/monitoring-alerting/configuration/?$ https://ranchermanager.docs.rancher.com/v2.7/pages-for-subheaders/monitoring-v2-configuration-guides; ~^/docs/rancher/v2.7/en/cluster-provisioning/rke-clusters/behavior-differences-between-rke1-and-rke2/?$ https://ranchermanager.docs.rancher.com/v2.7/how-to-guides/new-user-guides/launch-kubernetes-with-rancher/rke1-vs-rke2-differences; ~^/docs/rancher/v2.7/en/monitoring-alerting/?$ https://ranchermanager.docs.rancher.com/v2.7/pages-for-subheaders/monitoring-and-alerting; ~^/docs/rancher/v2.7/en/faq/telemetry/?$ https://ranchermanager.docs.rancher.com/v2.7/faq/telemetry; ~^/docs/rancher/v2.7/en/istio/?$ https://ranchermanager.docs.rancher.com/v2.7/pages-for-subheaders/istio; - - ~^/docs/rancher/v2.7/en/tools/pipelines/configurations/?$ https://ranchermanager.docs.rancher.com/v2.7/pages-for-subheaders/pipelines; ~^/docs/rancher/v2.7/en/security/security-scan/?$ https://ranchermanager.docs.rancher.com/v2.7/pages-for-subheaders/cis-scans; ~^/docs/rancher/v2.7/en/cluster-admin/tools/monitoring/?$ https://ranchermanager.docs.rancher.com/v2.7/pages-for-subheaders/monitoring-and-alerting; ~^/docs/rancher/v2.7/en/cluster-provisioning/rke-clusters/options/?$ https://ranchermanager.docs.rancher.com/v2.7/reference-guides/cluster-configuration/rancher-server-configuration/rke1-cluster-configuration;