summaryrefslogtreecommitdiff
path: root/docs/utils/filtron.sh.rst
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-02-04 13:13:17 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-02-04 13:13:17 +0100
commit9278f0fb45bab21247085a709c0e4bef743752db (patch)
tree7d3e3fb057f767ed10ded7c1487bdb4d6c0b6d71 /docs/utils/filtron.sh.rst
parent8ca86f46d3dfd81a69d2c2d1515bb163f327826c (diff)
downloadsearxng-9278f0fb45bab21247085a709c0e4bef743752db.tar.gz
searxng-9278f0fb45bab21247085a709c0e4bef743752db.zip
docs: add some documentation about the tooling box ./utils/*
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/utils/filtron.sh.rst')
-rw-r--r--docs/utils/filtron.sh.rst34
1 files changed, 33 insertions, 1 deletions
diff --git a/docs/utils/filtron.sh.rst b/docs/utils/filtron.sh.rst
index d93e38105..356359753 100644
--- a/docs/utils/filtron.sh.rst
+++ b/docs/utils/filtron.sh.rst
@@ -8,6 +8,7 @@
.. sidebar:: further reading
- :ref:`searx_filtron`
+ - :ref:`architecture`
.. _Go: https://golang.org/
.. _filtron: https://github.com/asciimoo/filtron
@@ -34,11 +35,42 @@ into this user account:
<utils/templates/lib/systemd/system/filtron.service>`
(``/lib/systemd/system/filtron.service``).
+.. _reverse proxy:
+
+Public Reverse Proxy
+====================
+
+.. tabs::
+
+To install searx in your public HTTP server use:
+
+.. code:: bash
+
+ sudo -H ./utils/filtron.sh apache install
+
+.. tabs::
+
+ .. group-tab:: apache
+
+ .. literalinclude:: ../../utils/templates/etc/apache2/sites-available/searx.conf:filtron
+ :language: apache
+
+ .. tabs::
+
+ .. group-tab:: Ubuntu / debian
+
+ .. code-block:: sh
+
+ $ sudo -H a2enmod headers
+ $ sudo -H a2enmod proxy
+ $ sudo -H a2enmod proxy_http
+
Overview
========
-The ``--help`` output of the script is largely self-explanatory:
+The ``--help`` output of the script is largely self-explanatory
+(:ref:`toolboxing common`):
.. program-output:: ../utils/filtron.sh --help