Skip to content

Commit 6cd8804

Browse files
committed
Merge pull request EFForg#4230 from lqf96/patch-4
Recreate Deepin related ruleset.
2 parents 23902c6 + 57b2cd3 commit 6cd8804

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<ruleset name="Deepin (partial)">
2+
<!-- Deepin.com -->
3+
<target host="www.deepin.com" />
4+
<!-- Redirects to www subdomain -->
5+
<target host="deepin.com" />
6+
<!-- Redirects to *.linuxdeepin.com: -->
7+
<target host="packages.deepin.com" />
8+
<target host="cdimage.deepin.com" />
9+
10+
<!-- Deepin.org -->
11+
<target host="www.deepin.org" />
12+
<target host="bbs.deepin.org" />
13+
<target host="blog.deepin.org" />
14+
<target host="api.deepin.org" />
15+
<target host="account.deepin.org" />
16+
<!-- Redirects to www subdomain -->
17+
<target host="deepin.org" />
18+
<!-- Redirects to *.linuxdeepin.com: -->
19+
<target host="packages.deepin.org" />
20+
21+
<!-- Linuxdeepin.com -->
22+
<target host="img1.linuxdeepin.com" />
23+
<target host="img2.linuxdeepin.com" />
24+
<target host="img3.linuxdeepin.com" />
25+
<target host="packages.linuxdeepin.com" />
26+
<target host="cdimage.linuxdeepin.com" />
27+
28+
<!-- Redirects to *.linuxdeepin.com -->
29+
<rule from="^http://(packages|cdimage)\.deepin\.com/" to="https://$1.linuxdeepin.com/" />
30+
<rule from="^http://(packages)\.deepin\.org/" to="https://$1.linuxdeepin.com/" />
31+
<!-- Redirects to www subdomain -->
32+
<rule from="^http://deepin\.(org|com)/" to="https://www.deepin.$1/" />
33+
<!-- Redirects directly to HTTPS -->
34+
<rule from="^http:" to="https:" />
35+
36+
<!--
37+
Mismatch:
38+
wiki.deepin.org
39+
feedback.deepin.org
40+
41+
old.linuxdeepin.com
42+
(www.)linuxdeepin.com
43+
mantis.linuxdeepin.com
44+
wiki.linuxdeepin.com
45+
start.linuxdeepin.com
46+
u.linuxdeepin.com
47+
beta.linuxdeepin.com
48+
mail.linuxdeepin.com
49+
50+
Timeout:
51+
rsync.linuxdeepin.com
52+
53+
Many thanks to J0WI.
54+
-->
55+
</ruleset>

0 commit comments

Comments
 (0)