|
1 | 1 | <!-- |
2 | 2 | CDN buckets: |
3 | | -
|
4 | 3 | - s3.amazonaws.com/files.enjin.com/ |
5 | 4 |
|
6 | 5 | - d2umfjgc9kwn9b.cloudfront.net |
7 | 6 | - assets-cloud.enjin.com |
8 | | -
|
9 | 7 | --> |
10 | | -<ruleset name="Enjin"> |
11 | | - |
| 8 | +<ruleset name="Enjin" platform="mixedcontent"> |
12 | 9 | <target host="enjin.com" /> |
13 | 10 | <target host="*.enjin.com" /> |
14 | | - <target host="*.www.enjin.com" /> |
15 | 11 | <target host="resources.guild-hosting.net" /> |
16 | | - |
| 12 | + |
| 13 | + <test url="http://www.enjin.com/" /> |
| 14 | + <test url="http://assets-cloud.enjin.com/" /> |
| 15 | + <test url="http://support.enjin.com/" /> |
| 16 | + <test url="http://files.enjin.com/" /> |
| 17 | + <test url="http://townywarriorsmc.enjin.com/" /> |
| 18 | + <test url="http://www.townywarriorsmc.enjin.com/" /> |
| 19 | + <test url="http://dracokraft.enjin.com/" /> |
| 20 | + <test url="http://www.dracokraft.enjin.com/" /> |
17 | 21 |
|
18 | 22 | <!-- Guild subdomains set wildcard cookies. In |
19 | 23 | order to secure them, we'd have to target |
20 | 24 | each and every guild's subdomain... |
21 | 25 | --> |
22 | 26 | <securecookie host="^(?:.*\.)?enjin\.com$" name=".+" /> |
23 | 27 |
|
24 | | - |
25 | 28 | <rule from="^http://assets-cloud\.enjin\.com/" |
26 | 29 | to="https://d2umfjgc9kwn9b.cloudfront.net/" /> |
27 | 30 |
|
|
30 | 33 |
|
31 | 34 | <!-- Guilds have unique subdomains. |
32 | 35 | --> |
33 | | - <rule from="^http://([\w\-]+\.)?enjin\.com/" |
34 | | - to="https://$1enjin.com/" /> |
| 36 | + <rule from="^http://(www\.)?([\w-]+\.)?enjin\.com/" |
| 37 | + to="https://$2enjin.com/" /> |
35 | 38 |
|
36 | 39 | <!-- CN: *.enjin.com |
37 | 40 | --> |
38 | 41 | <rule from="^http://resources\.guild-hosting\.net/" |
39 | 42 | to="https://resources.enjin.com/" /> |
40 | | - |
41 | 43 | </ruleset> |
0 commit comments