summaryrefslogtreecommitdiff
path: root/searx/https_rules/Torproject.xml
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2014-10-19 12:06:34 +0200
committerAdam Tauber <asciimoo@gmail.com>2014-10-19 12:06:34 +0200
commit20400c40c34b6122621476c46460c5a3a8624c89 (patch)
treeaa598d3d8b09f489b8d96a1821e7a560b8019672 /searx/https_rules/Torproject.xml
parent840945f498cd07d38cb198cc0735b6445f44802c (diff)
parent1e3e6465845236b027ce8df9ab5fcc78ffe3f1d1 (diff)
Merge pull request #97 from pointhi/https
Implementing https rewrite support
Diffstat (limited to 'searx/https_rules/Torproject.xml')
-rw-r--r--searx/https_rules/Torproject.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/searx/https_rules/Torproject.xml b/searx/https_rules/Torproject.xml
new file mode 100644
index 000000000..69269af7e
--- /dev/null
+++ b/searx/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>