diff options
author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-10-15 14:52:27 +0200 |
---|---|---|
committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-10-15 14:52:27 +0200 |
commit | 1e3e6465845236b027ce8df9ab5fcc78ffe3f1d1 (patch) | |
tree | 69822d7c6dbe32174db3451596729ab756af0e60 /searx/https_rules/OpenStreetMap.xml | |
parent | bb126da0fb49d1c9640eeb3371d0bbcf005bcd2b (diff) | |
download | searxng-1e3e6465845236b027ce8df9ab5fcc78ffe3f1d1.tar.gz searxng-1e3e6465845236b027ce8df9ab5fcc78ffe3f1d1.zip |
import basic https rules from https-everywhere repository
* licenced under GPLv3+
* downloaded from https://github.com/EFForg/https-everywhere
Diffstat (limited to 'searx/https_rules/OpenStreetMap.xml')
-rw-r--r-- | searx/https_rules/OpenStreetMap.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/searx/https_rules/OpenStreetMap.xml b/searx/https_rules/OpenStreetMap.xml new file mode 100644 index 000000000..58a661823 --- /dev/null +++ b/searx/https_rules/OpenStreetMap.xml @@ -0,0 +1,15 @@ +<ruleset name="OpenStreetMap"> + + <target host="openstreetmap.org"/> + <target host="*.openstreetmap.org"/> + + <rule from="^http://(?:www\.)?openstreetmap\.org/" + to="https://www.openstreetmap.org/"/> + + <rule from="^http://tile\.openstreetmap\.org/" + to="https://a.tile.openstreetmap.org/"/> + + <rule from="^http://(blog|help|lists|nominatim|piwik|taginfo|[abc]\.tile|trac|wiki)\.openstreetmap\.org/" + to="https://$1.openstreetmap.org/"/> + +</ruleset> |