diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2014-10-19 12:06:34 +0200 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2014-10-19 12:06:34 +0200 |
| commit | 20400c40c34b6122621476c46460c5a3a8624c89 (patch) | |
| tree | aa598d3d8b09f489b8d96a1821e7a560b8019672 /searx/https_rules/Bing.xml | |
| parent | 840945f498cd07d38cb198cc0735b6445f44802c (diff) | |
| parent | 1e3e6465845236b027ce8df9ab5fcc78ffe3f1d1 (diff) | |
Merge pull request #97 from pointhi/https
Implementing https rewrite support
Diffstat (limited to 'searx/https_rules/Bing.xml')
| -rw-r--r-- | searx/https_rules/Bing.xml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/searx/https_rules/Bing.xml b/searx/https_rules/Bing.xml new file mode 100644 index 000000000..8b403f108 --- /dev/null +++ b/searx/https_rules/Bing.xml @@ -0,0 +1,56 @@ +<!-- + For other Microsoft coverage, see Microsoft.xml. + + + CDN buckets: + + - a134.lm.akamai.net + + - akam.bing.com + - *.mm.bing.net + + + Nonfunctional domains: + + - m2.cn.bing.com + - origin.bj1.bing.com + - blogs.bing.com + + + Fully covered domains: + + - bing.com subdomains: + + - (www.) + - c.bing (tracking beacons) + - cn.bing + - h.bing + - ssl + - testfamilysafety.bing + - udc.bing + - (www.)bing + + - *.mm.bing.net + - api.bing.com + +--> +<ruleset name="Bing"> + + <target host="bing.com" /> + <target host="*.bing.com" /> + <target host="*.mm.bing.net" /> + + + <securecookie host=".*\.bing\.com$" name=".+" /> + + + <rule from="^http://((?:c|cn|h|ssl|testfamilysafety|udc|www)\.)?bing\.com/" + to="https://$1bing.com/" /> + + <rule from="^http://([^/:@]*)\.mm\.bing\.net/" + to="https://$1.mm.bing.com/"/> + + <rule from="^http://([^/:@]*)\.api\.bing\.net/" + to="https://$1.api.bing.com/"/> + +</ruleset> |