Skip to content

Commit 0a4d61a

Browse files
committed
Expand the set of URLs that will redirect to regression.boost.io
1 parent a5e455a commit 0a4d61a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

kube/boost/templates/configmap-nginx.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,8 @@ data:
119119
location = /development/bugs.html { return 301 /doc/user-guide/reporting-issues.html; }
120120
location = /development/pull_requests.php { return 301 $scheme://$host; }
121121
location = /development/testing.html { return 301 /doc/contributor-guide/testing/boost-test-matrix.html#_regression_dashboard; }
122-
location = /development/tests/master/developer/summary.html { return 301 https://regression.boost.io/master/developer/summary.html; }
123-
location = /development/tests/master/developer/issues.html { return 301 https://regression.boost.io/master/developer/issues.html; }
124-
location = /development/tests/develop/developer/summary.html { return 301 https://regression.boost.io/develop/developer/summary.html; }
125-
location = /development/tests/develop/developer/issues.html { return 301 https://regression.boost.io/develop/developer/issues.html; }
122+
location ~ /development/tests/master/developer/([^/]+).html { return 301 https://regression.boost.io/master/developer/$1.html; }
123+
location ~ /development/tests/develop/developer/([^/]+).html { return 301 https://regression.boost.io/develop/developer/$1.html; }
126124
location ~ ^/(development/running_regression_tests.html|doc/regression)$ { return 301 /doc/contributor-guide/testing/regression-tests.html; }
127125
location = /development/requirements.html { return 301 /doc/contributor-guide/index.html; }
128126
location = /development/test.html { return 301 /doc/contributor-guide/testing/intro.html; }

0 commit comments

Comments
 (0)