summaryrefslogtreecommitdiff
path: root/searx/plugins/https_rules/Torproject.xml
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-04-13 00:30:12 +0200
committerAdam Tauber <asciimoo@gmail.com>2015-04-13 00:30:12 +0200
commitd2a636f75d24953f5094ea97ab54a8a4353a65ff (patch)
tree22da091679dd5b9460391a50810b96b80020e15f /searx/plugins/https_rules/Torproject.xml
parent146928a74980b90de614b71512334ac0a6373048 (diff)
[mod] https rewrite pluginification
Diffstat (limited to 'searx/plugins/https_rules/Torproject.xml')
-rw-r--r--searx/plugins/https_rules/Torproject.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/searx/plugins/https_rules/Torproject.xml b/searx/plugins/https_rules/Torproject.xml
new file mode 100644
index 000000000..69269af7e
--- /dev/null
+++ b/searx/plugins/https_rules/Torproject.xml
@@ -0,0 +1,18 @@
+<ruleset name="Tor Project">
+
+ <target host="torproject.org" />
+ <target host="*.torproject.org" />
+ <exclusion pattern="^http://torperf\.torproject\.org/" />
+
+
+ <!-- Not secured by server:
+ -->
+ <!--securecookie host="^\.blog\.torproject\.org$" name="^SESS[0-9a-f]{32}$" /-->
+
+ <securecookie host="^(?:.*\.)?torproject\.org$" name=".+" />
+
+
+ <rule from="^http://([^/:@\.]+\.)?torproject\.org/"
+ to="https://$1torproject.org/" />
+
+</ruleset>