|
@@ -0,0 +1,86 @@
|
|
1
|
+
|
|
2
|
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
3
|
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
4
|
+
|
|
5
|
+<html xmlns="http://www.w3.org/1999/xhtml">
|
|
6
|
+ <head>
|
|
7
|
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
8
|
+ <title>How to setup result proxy — searx 0.12.0 documentation</title>
|
|
9
|
+ <link rel="stylesheet" href="../_static/style.css" type="text/css" />
|
|
10
|
+ <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
|
11
|
+ <script type="text/javascript">
|
|
12
|
+ var DOCUMENTATION_OPTIONS = {
|
|
13
|
+ URL_ROOT: '../',
|
|
14
|
+ VERSION: '0.12.0',
|
|
15
|
+ COLLAPSE_INDEX: false,
|
|
16
|
+ FILE_SUFFIX: '.html',
|
|
17
|
+ HAS_SOURCE: true,
|
|
18
|
+ SOURCELINK_SUFFIX: '.txt'
|
|
19
|
+ };
|
|
20
|
+ </script>
|
|
21
|
+ <script type="text/javascript" src="../_static/jquery.js"></script>
|
|
22
|
+ <script type="text/javascript" src="../_static/underscore.js"></script>
|
|
23
|
+ <script type="text/javascript" src="../_static/doctools.js"></script>
|
|
24
|
+ <link rel="index" title="Index" href="../genindex.html" />
|
|
25
|
+ <link rel="search" title="Search" href="../search.html" />
|
|
26
|
+ <link rel="next" title="Development Quickstart" href="../dev/quickstart.html" />
|
|
27
|
+ <link rel="prev" title="How to protect an instance" href="filtron.html" />
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+ <link media="only screen and (max-device-width: 480px)" href="../_static/small_flask.css" type= "text/css" rel="stylesheet" />
|
|
31
|
+ <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
|
|
32
|
+
|
|
33
|
+ </head>
|
|
34
|
+ <body>
|
|
35
|
+
|
|
36
|
+ <div class="document">
|
|
37
|
+ <div class="documentwrapper">
|
|
38
|
+ <div class="bodywrapper">
|
|
39
|
+ <div class="body" role="main">
|
|
40
|
+
|
|
41
|
+ <div class="section" id="how-to-setup-result-proxy">
|
|
42
|
+<h1>How to setup result proxy<a class="headerlink" href="#how-to-setup-result-proxy" title="Permalink to this headline">¶</a></h1>
|
|
43
|
+<p>By default searx can only act as an image proxy for result images,
|
|
44
|
+but it is possible to proxify all the result URLs with an external service,
|
|
45
|
+<a class="reference external" href="https://github.com/asciimoo/morty">morty</a>.</p>
|
|
46
|
+<p>To use this feature, morty has to be installed and activated in searx’s <code class="docutils literal"><span class="pre">settings.yml</span></code>.</p>
|
|
47
|
+<p>Add the following snippet to your <code class="docutils literal"><span class="pre">settings.yml</span></code> and restart searx:</p>
|
|
48
|
+<div class="code yaml highlight-default"><div class="highlight"><pre><span></span><span class="n">result_proxy</span><span class="p">:</span>
|
|
49
|
+ <span class="n">url</span> <span class="p">:</span> <span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="mf">127.0</span><span class="o">.</span><span class="mf">0.1</span><span class="p">:</span><span class="mi">3000</span><span class="o">/</span>
|
|
50
|
+ <span class="n">key</span> <span class="p">:</span> <span class="n">your_morty_proxy_key</span>
|
|
51
|
+</pre></div>
|
|
52
|
+</div>
|
|
53
|
+<p><code class="docutils literal"><span class="pre">url</span></code> is the address of the running morty service</p>
|
|
54
|
+<p><code class="docutils literal"><span class="pre">key</span></code> is an optional argument, see <a class="reference external" href="https://github.com/asciimoo/morty">morty’s README</a> for more information.</p>
|
|
55
|
+</div>
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+ </div>
|
|
59
|
+ </div>
|
|
60
|
+ </div>
|
|
61
|
+ <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
|
62
|
+ <div class="sphinxsidebarwrapper"><div class="sidebar_container body">
|
|
63
|
+<h1>Searx</h1>
|
|
64
|
+<ul>
|
|
65
|
+ <li><a href="../index.html">Home</a></li>
|
|
66
|
+ <li><a href="https://github.com/asciimoo/searx">Source</a></li>
|
|
67
|
+ <li><a href="../blog/blog.html">Blog</a></li>
|
|
68
|
+ <li><a href="https://github.com/asciimoo/searx/wiki">Wiki</a></li>
|
|
69
|
+ <li><a href="https://github.com/asciimoo/searx/wiki/Searx-instances">Public instances</a></li>
|
|
70
|
+</ul>
|
|
71
|
+<hr />
|
|
72
|
+<ul>
|
|
73
|
+ <li><a href="https://twitter.com/Searx_engine">Twitter</a></li>
|
|
74
|
+ <li><a href="https://flattr.com/submit/auto?user_id=asciimoo&url=https://github.com/asciimoo/searx&title=searx&language=&tags=github&category=software">Flattr</a></li>
|
|
75
|
+ <li><a href="https://gratipay.com/searx">Gratipay</a></li>
|
|
76
|
+</ul>
|
|
77
|
+</div>
|
|
78
|
+ </div>
|
|
79
|
+ </div>
|
|
80
|
+ <div class="clearer"></div>
|
|
81
|
+ </div>
|
|
82
|
+ <div class="footer">
|
|
83
|
+ © Copyright 2015-2017, Adam Tauber.
|
|
84
|
+ </div>
|
|
85
|
+ </body>
|
|
86
|
+</html>
|