Skip to content

Commit

Permalink
Add redirects for v2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
btat committed Oct 5, 2023
1 parent 12989fb commit 292ad7e
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 292ad7e

Please sign in to comment.