Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,62 @@ map $request_uri $redirect_uri {
~^/rancher/v2.x/en/admin-settings/feature-flags/istio-virtual-service-ui/?$ /docs/rancher/v2.x/en/installation/options/feature-flags/istio-virtual-service-ui/;
~^/docs/os/v1.1/en/configuration/custom-rancheros-iso/?$ /docs/os/v1.1/en/custom-builds/custom-rancheros-iso/;

# Redirects for RKE Docusaurus docs

~^/docs/rke/?$ https://rke.docs.rancher.com;
~^/docs/rke/latest/?$ https://rke.docs.rancher.com;
~^/docs/rke/latest/en/?$ https://rke.docs.rancher.com;
~^/docs/rke/latest/en/os/?$ https://rke.docs.rancher.com/os;
~^/docs/rke/latest/en/installation/?$ https://rke.docs.rancher.com/installation;
~^/docs/rke/latest/en/installation/certs/?$ https://rke.docs.rancher.com/installation/certs;
~^/docs/rke/latest/en/upgrades/?$ https://rke.docs.rancher.com/upgrades;
~^/docs/rke/latest/en/upgrades/how-upgrades-work/?$ https://rke.docs.rancher.com/upgrades/how-upgrades-work;
~^/docs/rke/latest/en/upgrades/maintaining-availability/?$ https://rke.docs.rancher.com/upgrades/maintaining-availability;
~^/docs/rke/latest/en/upgrades/configuring-strategy/?$ https://rke.docs.rancher.com/upgrades/configuring-strategy;
~^/docs/rke/latest/en/kubeconfig/?$ https://rke.docs.rancher.com/kubeconfig;
~^/docs/rke/latest/en/etcd-snapshots/?$ https://rke.docs.rancher.com/etcd-snapshots;
~^/docs/rke/latest/en/etcd-snapshots/one-time-snapshots/?$ https://rke.docs.rancher.com/etcd-snapshots/one-time-snapshots;
~^/docs/rke/latest/en/etcd-snapshots/recurring-snapshots/?$ https://rke.docs.rancher.com/etcd-snapshots/recurring-snapshots;
~^/docs/rke/latest/en/etcd-snapshots/restoring-from-backup/?$ https://rke.docs.rancher.com/etcd-snapshots/restoring-from-backup;
~^/docs/rke/latest/en/etcd-snapshots/example-scenarios/?$ https://rke.docs.rancher.com/etcd-snapshots/example-scenarios;
~^/docs/rke/latest/en/etcd-snapshots/troubleshooting/?$ https://rke.docs.rancher.com/etcd-snapshots/troubleshooting;
~^/docs/rke/latest/en/cert-mgmt/?$ https://rke.docs.rancher.com/cert-mgmt;
~^/docs/rke/latest/en/managing-clusters/?$ https://rke.docs.rancher.com/managing-clusters;
~^/docs/rke/latest/en/config-options/?$ https://rke.docs.rancher.com/config-options;
~^/docs/rke/latest/en/config-options/nodes/?$ https://rke.docs.rancher.com/config-options/nodes;
~^/docs/rke/latest/en/config-options/private-registries/?$ https://rke.docs.rancher.com/config-options/private-registries;
~^/docs/rke/latest/en/config-options/bastion-host/?$ https://rke.docs.rancher.com/config-options/bastion-host;
~^/docs/rke/latest/en/config-options/system-images/?$ https://rke.docs.rancher.com/config-options/system-images;
~^/docs/rke/latest/en/config-options/services/?$ https://rke.docs.rancher.com/config-options/services;
~^/docs/rke/latest/en/config-options/services/services-extras/?$ https://rke.docs.rancher.com/config-options/services/services-extras;
~^/docs/rke/latest/en/config-options/services/external-etcd/?$ https://rke.docs.rancher.com/config-options/services/external-etcd;
~^/docs/rke/latest/en/config-options/secrets-encryption/?$ https://rke.docs.rancher.com/config-options/secrets-encryption;
~^/docs/rke/latest/en/config-options/authentication/?$ https://rke.docs.rancher.com/config-options/authentication;
~^/docs/rke/latest/en/config-options/authorization/?$ https://rke.docs.rancher.com/config-options/authorization;
~^/docs/rke/latest/en/config-options/rate-limiting/?$ https://rke.docs.rancher.com/config-options/rate-limiting;
~^/docs/rke/latest/en/config-options/cloud-providers/?$ https://rke.docs.rancher.com/config-options/cloud-providers;
~^/docs/rke/latest/en/config-options/cloud-providers/aws/?$ https://rke.docs.rancher.com/config-options/cloud-providers/aws;
~^/docs/rke/latest/en/config-options/cloud-providers/azure/?$ https://rke.docs.rancher.com/config-options/cloud-providers/azure;
~^/docs/rke/latest/en/config-options/cloud-providers/openstack/?$ https://rke.docs.rancher.com/config-options/cloud-providers/openstack;
~^/docs/rke/latest/en/config-options/cloud-providers/vsphere/?$ https://rke.docs.rancher.com/config-options/cloud-providers/vsphere;
~^/docs/rke/latest/en/config-options/cloud-providers/vsphere/enabling-uuid/?$ https://rke.docs.rancher.com/config-options/cloud-providers/vsphere/enabling-uuid;
~^/docs/rke/latest/en/config-options/cloud-providers/vsphere/config-reference/?$ https://rke.docs.rancher.com/config-options/cloud-providers/vsphere/config-reference;
~^/docs/rke/latest/en/config-options/cloud-providers/vsphere/troubleshooting/?$ https://rke.docs.rancher.com/config-options/cloud-providers/vsphere/troubleshooting;
~^/docs/rke/latest/en/config-options/cloud-providers/custom/?$ https://rke.docs.rancher.com/config-options/cloud-providers/custom;
~^/docs/rke/latest/en/config-options/audit-log/?$ https://rke.docs.rancher.com/config-options/audit-log;
~^/docs/rke/latest/en/config-options/dual-stack/?$ https://rke.docs.rancher.com/config-options/dual-stack;
~^/docs/rke/latest/en/config-options/add-ons/?$ https://rke.docs.rancher.com/config-options/add-ons;
~^/docs/rke/latest/en/config-options/add-ons/network-plugins/?$ https://rke.docs.rancher.com/config-options/add-ons/network-plugins;
~^/docs/rke/latest/en/config-options/add-ons/network-plugins/custom-network-plugin-example/?$ https://rke.docs.rancher.com/config-options/add-ons/network-plugins/custom-network-plugin-example;
~^/docs/rke/latest/en/config-options/add-ons/dns/?$ https://rke.docs.rancher.com/config-options/add-ons/dns;
~^/docs/rke/latest/en/config-options/add-ons/ingress-controllers/?$ https://rke.docs.rancher.com/config-options/add-ons/ingress-controllers;
~^/docs/rke/latest/en/config-options/add-ons/metrics-server/?$ https://rke.docs.rancher.com/config-options/add-ons/metrics-server;
~^/docs/rke/latest/en/config-options/add-ons/user-defined-add-ons/?$ https://rke.docs.rancher.com/config-options/add-ons/user-defined-add-ons;
~^/docs/rke/latest/en/example-yamls/?$ https://rke.docs.rancher.com/example-yamls;
~^/docs/rke/latest/en/troubleshooting/?$ https://rke.docs.rancher.com/troubleshooting;
~^/docs/rke/latest/en/troubleshooting/ssh-connectivity-errors/?$ https://rke.docs.rancher.com/troubleshooting/ssh-connectivity-errors;
~^/docs/rke/latest/en/troubleshooting/provisioning-errors/?$ https://rke.docs.rancher.com/troubleshooting/provisioning-errors;

# Redirects for Rancher Manager Docusaurus docs

~^/docs/rancher/v2.7/?$ https://ranchermanager.docs.rancher.com;
Expand Down