-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAmazon-off-by-default.xml
32 lines (24 loc) · 1.24 KB
/
Amazon-off-by-default.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!-- This rule is off by default because it causes so many aspects of the
Amazon site to break; see the mailing list archives for details -->
<ruleset name="Amazon (buggy)" default_off="currently somewhat broken">
<target host="www.amazon.*" />
<target host="amazon.*" />
<target host="www.amazon.co.*" />
<target host="amazon.co.*" />
<target host="*.amazon.com" />
<target host="amazon.com" />
<!-- Amazon appears to operate in 7 countries, and does not hold the domains
for some others, like .se or .be. In other cases there is an http-only site
that redirects to one of these 7 countries. -->
<!-- We totally need to figure out if we can have a blanket redirect
for Amazon Web Services, which are a very popular CDN that appears
to support HTTPS! The aws.amazon.com rule below does not do this
because it only applies to the developer signup page. -->
<rule from="^http://(www\.)?amazon\.com/" to="https://www.amazon.com/" />
<rule from="^http://(www\.)?amazon\.co\.(uk|jp)/"
to="https://www.amazon.co.$2/" />
<rule from="^http://(www\.)?amazon\.(ca|cn|de|fr)/"
to="https://www.amazon.$2/" />
<rule from="^http://aws\.amazon\.com/"
to="https://aws.amazon.com/" />
</ruleset>