morty.rst 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. .. _searx morty:
  2. =========================
  3. How to setup result proxy
  4. =========================
  5. .. sidebar:: further reading
  6. - :ref:`morty.sh`
  7. .. _morty: https://github.com/asciimoo/morty
  8. .. _morty's README: https://github.com/asciimoo/morty
  9. By default searx can only act as an image proxy for result images, but it is
  10. possible to proxify all the result URLs with an external service, morty_.
  11. To use this feature, morty has to be installed and activated in searx's
  12. ``settings.yml``. Add the following snippet to your ``settings.yml`` and
  13. restart searx:
  14. .. code:: yaml
  15. result_proxy:
  16. url : http://127.0.0.1:3000/
  17. key : !!binary "insert_your_morty_proxy_key_here"
  18. Note that the example above (``http://127.0.0.1:3000``) is only for single-user
  19. instances without a HTTP proxy. If your morty service is public, the url is the
  20. address of the reverse proxy (e.g ``https://example.org/morty``).
  21. For more information about *result proxy* have a look at *"searx via filtron
  22. plus morty"* in the :ref:`nginx <nginx searx via filtron plus morty>` and
  23. :ref:`apache <apache searx via filtron plus morty>` sections.
  24. ``url``
  25. Is the address of the running morty service.
  26. ``key``
  27. Is an optional argument, see `morty's README`_ for more information.