Skip to content

Commit 85deaad

Browse files
committed
Add redirect from en/2.8.0 to en/master
rurema/doctree#2106
1 parent ce74250 commit 85deaad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conf/docs.ruby-lang.org

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
return 301 https://docs.ruby-lang.org/en/master$1;
5959
}
6060

61-
location ~ ^/ja/2\.8\.0(.*) {
62-
return 302 https://docs.ruby-lang.org/ja/master$1;
61+
location ~ ^/(en|ja)/2\.8\.0(.*) {
62+
return 302 https://docs.ruby-lang.org/$1/master$2;
6363
}
6464

6565
location ~ ^/(en|ja)/(.+?)/ {

0 commit comments

Comments
 (0)