Skip to content

Commit f2ff516

Browse files
authored
Merge pull request #79695 from bscott-rh/ingress-sharding-redirect
Added ingress sharding redirect
2 parents 3571990 + 55114ac commit f2ff516

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.s2i/httpd-cfg/01-commercial.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ AddType text/vtt vtt
155155
RewriteRule ^acs/(4\.4)/architecture/acscs-architecture\.html$ /acs/latest/cloud_service/acscs-architecture.html [NE,R=302]
156156
#redirect Managing compliance and Compliance Operator pages as per https://github.com/openshift/openshift-docs/pull/78035
157157
RewriteRule ^acs/(4\.5)/operating/manage-compliance-operator/compliance-operator-rhacs\.html$ /acs/latest/operating/compliance-operator-rhacs.html [NE,R=302]
158-
158+
159159
#remove aro docs to just the welcome page
160160
RewriteRule aro/4/(?!welcome)(.*)?$ /container-platform/latest/$1 [L,R=301]
161161

@@ -231,6 +231,8 @@ AddType text/vtt vtt
231231
RewriteRule ^container-platform/(4\.12|4\.13)/scalability_and_performance/low_latency_tuning/cnf-tuning-low-latency-nodes-with-perf-profile.html /container-platform/$1/scalability_and_performance/cnf-low-latency-tuning.html [NE,R=302]
232232
RewriteRule ^container-platform/(4\.12|4\.13)/scalability_and_performance/low_latency_tuning/cnf-provisioning-low-latency-workloads.html /container-platform/$1/scalability_and_performance/cnf-low-latency-tuning.html [NE,R=302]
233233

234+
# ingress sharding redirect per https://github.com/openshift/openshift-docs/pull/76916
235+
RewriteRule ^container-platform/(4\.1[2-6]|latest)/networking/ingress-sharding.html /container-platform/$1/networking/configuring_ingress_cluster_traffic/configuring-ingress-cluster-traffic-ingress-controller.html [NE,R=302]
234236

235237
# Redirects for new ZTP edge computing section
236238
RewriteRule ^container-platform/(4\.15|4\.16)/scalability_and_performance/ztp_far_edge/cnf-talm-for-cluster-upgrades.html /container-platform/$1/edge_computing/cnf-talm-for-cluster-upgrades.html [NE,R=302]

0 commit comments

Comments
 (0)