Skip to content

Commit 5ce032b

Browse files
committed
review changes, added Pipelines
1 parent b3ac6b1 commit 5ce032b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ AddType text/vtt vtt
340340

341341
# GitOps release notes version switch
342342

343-
RewriteRule ^gitops/1\.(8|9|10|11|12|13)/release_notes/gitops-release-notes?(.*).html gitops/1.$1/release_notes/gitops-release-notes.html
344-
RewriteRule ^gitops/1\.(14|15|16)/release_notes/gitops-release-notes?(.*).html gitops/1.$1/release_notes/gitops-release-notes-1-$1.html
343+
RewriteRule ^gitops/1\.(8|9|10|11|12|13)/release_notes/gitops-release-notes-1-([0-9]+)\.html$ gitops/1.$1/release_notes/gitops-release-notes.html [L,R=302]
344+
RewriteRule ^gitops/1\.(14|15|16)/release_notes/gitops-release-notes?(.*)\.html$ gitops/1.$1/release_notes/gitops-release-notes.html [L,R=302]
345345

346346
# redirect any links to existing OCP embedded content to standalone equivalent for each assembly
347347
RewriteRule ^container-platform/(4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/gitops/gitops-release-notes.html/ /gitops/latest/release_notes/gitops-release-notes-1-14.html [L,R=302]
@@ -387,6 +387,13 @@ AddType text/vtt vtt
387387
RewriteRule ^pipelines/?$ /pipelines/latest [R=302]
388388
RewriteRule ^pipelines/latest/?(.*)$ /pipelines/1\.15/$1 [NE,R=302]
389389

390+
# Pipelines release notes version switch
391+
392+
RewriteRule ^pipelines/1\.(10|11|12|13|14|15)/release_notes/op-release-notes-1-([0-9]+)\.html$ pipelines/1.$1/about/op-release-notes.html [L,R=302]
393+
RewriteRule ^pipelines/1\.(16|17|17)/release_notes/op-release-notes?(.*)\.html$ pipelines/1.$1/release_notes/pipelines-release-notes.html [L,R=302]
394+
RewriteRule ^pipelines/1\.(16|17|17)/anput/op-release-notes\.html$ pipelines/1.$1/release_notes/pipelines-release-notes.html [L,R=302]
395+
396+
390397
# Pipelines landing page
391398

392399
RewriteRule ^container-platform/(4\.9|4\.10|4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/pipelines/about-pipelines.html /pipelines/latest/about/about-pipelines.html [NE,R=302]

0 commit comments

Comments
 (0)