Skip to content

Commit

Permalink
Use versioned link for Rancher v2.7 redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
btat committed Oct 5, 2023
1 parent 90282f1 commit 83d0434
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -220,23 +220,23 @@ map $request_uri $redirect_uri {

# Redirects for Rancher Manager Docusaurus docs

~^/docs/rancher/v2.7/?$ https://ranchermanager.docs.rancher.com;
~^/docs/rancher/v2.7/en/?$ https://ranchermanager.docs.rancher.com;
~^/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/how-to-guides/advanced-user-guides/authentication-permissions-and-global-configuration/about-authentication/authentication-config/configure-google-oauth;
~^/docs/rancher/v2.7/en/monitoring-alerting/configuration/?$ https://ranchermanager.docs.rancher.com/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/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/launch-kubernetes-with-rancher/rke1-vs-rke2-differences;
~^/docs/rancher/v2.7/en/monitoring-alerting/?$ https://ranchermanager.docs.rancher.com/pages-for-subheaders/monitoring-and-alerting;
~^/docs/rancher/v2.7/en/monitoring-alerting/guides/migrating/?$ https://ranchermanager.docs.rancher.com/how-to-guides/advanced-user-guides/monitoring-alerting-guides/migrate-to-rancher-v25+-monitoring;
~^/docs/rancher/v2.7/en/faq/telemetry/?$ https://ranchermanager.docs.rancher.com/faq/telemetry;
~^/docs/rancher/v2.7/en/logging/migrating/?$ https://ranchermanager.docs.rancher.com/explanations/integrations-in-rancher/logging/migrate-to-rancher-v25+-logging;
~^/docs/rancher/v2.7/en/istio/?$ https://ranchermanager.docs.rancher.com/pages-for-subheaders/istio;
~^/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/monitoring-alerting/guides/migrating/?$ https://ranchermanager.docs.rancher.com/v2.7/how-to-guides/advanced-user-guides/monitoring-alerting-guides/migrate-to-rancher-v25+-monitoring;
~^/docs/rancher/v2.7/en/faq/telemetry/?$ https://ranchermanager.docs.rancher.com/v2.7/faq/telemetry;
~^/docs/rancher/v2.7/en/logging/migrating/?$ https://ranchermanager.docs.rancher.com/v2.7/explanations/integrations-in-rancher/logging/migrate-to-rancher-v25+-logging;
~^/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/pages-for-subheaders/pipelines;
~^/docs/rancher/v2.7/en/security/security-scan/?$ https://ranchermanager.docs.rancher.com/pages-for-subheaders/cis-scans;
~^/docs/rancher/v2.7/en/cluster-admin/tools/monitoring/?$ https://ranchermanager.docs.rancher.com/pages-for-subheaders/monitoring-and-alerting;
~^/docs/rancher/v2.7/en/cluster-provisioning/rke-clusters/options/?$ https://ranchermanager.docs.rancher.com/reference-guides/cluster-configuration/rancher-server-configuration/rke1-cluster-configuration;
~^/docs/rancher/v2.7/en/installing-rancher/installing-server/basic-ssl-config/?$ https://ranchermanager.docs.rancher.com/pages-for-subheaders/install-upgrade-on-a-kubernetes-cluster#3-choose-your-ssl-configuration;
~^/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;
~^/docs/rancher/v2.7/en/installing-rancher/installing-server/basic-ssl-config/?$ https://ranchermanager.docs.rancher.com/v2.7/pages-for-subheaders/install-upgrade-on-a-kubernetes-cluster#3-choose-your-ssl-configuration;
~^/docs/rancher/v2.7/en/cluster-provisioning/hosted-kubernetes-clusters/gke/?$ https://ranchermanager.docs.rancher.com/v2.7/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-clusters-from-hosted-kubernetes-providers/gke;
~^/docs/rancher/v2.7/en/cluster-provisioning/hosted-kubernetes-clusters/aks/?$ https://ranchermanager.docs.rancher.com/v2.7/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-clusters-from-hosted-kubernetes-providers/aks;

Expand Down

0 comments on commit 83d0434

Please sign in to comment.