Add redirects for nodepool

We moved Nodepool docs to /latest like Zuul, so lets add redirects
for them as well.

Change-Id: Id2bc60e058df3107f9f1942548d74e8215f5ca3e
This commit is contained in:
James E. Blair 2022-03-16 13:30:33 -07:00
parent 3d400165bf
commit 92033e7cc2

View File

@ -3,6 +3,32 @@ redirectmatch 302 ^/start(/)?$ /get-started.html
# Permanent redirects for documents which have moved in the past
#################################################################
## Move from docs/nodepool to docs/nodepool/latest
redirectmatch 301 ^/docs/nodepool(/)?$ /docs/nodepool/latest/
### HTML Files
redirectmatch 301 ^/docs/nodepool/aws.html$ /docs/nodepool/latest/aws.html
redirectmatch 301 ^/docs/nodepool/azure.html$ /docs/nodepool/latest/azure.html
redirectmatch 301 ^/docs/nodepool/configuration.html$ /docs/nodepool/latest/configuration.html
redirectmatch 301 ^/docs/nodepool/devguide.html$ /docs/nodepool/latest/devguide.html
redirectmatch 301 ^/docs/nodepool/gce.html$ /docs/nodepool/latest/gce.html
redirectmatch 301 ^/docs/nodepool/genindex.html$ /docs/nodepool/latest/genindex.html
redirectmatch 301 ^/docs/nodepool/http-routingtable.html$ /docs/nodepool/latest/http-routingtable.html
redirectmatch 301 ^/docs/nodepool/index.html$ /docs/nodepool/latest/index.html
redirectmatch 301 ^/docs/nodepool/installation.html$ /docs/nodepool/latest/installation.html
redirectmatch 301 ^/docs/nodepool/kubernetes.html$ /docs/nodepool/latest/kubernetes.html
redirectmatch 301 ^/docs/nodepool/metastatic.html$ /docs/nodepool/latest/metastatic.html
redirectmatch 301 ^/docs/nodepool/objects.inv$ /docs/nodepool/latest/objects.inv
redirectmatch 301 ^/docs/nodepool/openshift-pods.html$ /docs/nodepool/latest/openshift-pods.html
redirectmatch 301 ^/docs/nodepool/openshift.html$ /docs/nodepool/latest/openshift.html
redirectmatch 301 ^/docs/nodepool/openstack.html$ /docs/nodepool/latest/openstack.html
redirectmatch 301 ^/docs/nodepool/operation.html$ /docs/nodepool/latest/operation.html
redirectmatch 301 ^/docs/nodepool/releasenotes.html$ /docs/nodepool/latest/releasenotes.html
redirectmatch 301 ^/docs/nodepool/search.html$ /docs/nodepool/latest/search.html
redirectmatch 301 ^/docs/nodepool/static.html$ /docs/nodepool/latest/static.html
redirectmatch 301 ^/docs/nodepool/ibmvpc.html$ /docs/nodepool/latest/ibmvpc.html
#################################################################
## Move from docs/zuul to docs/zuul/latest
redirectmatch 301 ^/docs/zuul(/)?$ /docs/zuul/latest/