morty.html 4.0KB

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