diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-01-20 16:55:05 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-01-20 16:55:05 +0100 |
commit | 9b5a7f7559faf121e44ba3e7260290bd7efe74bf (patch) | |
tree | 5d9bbfe6a1b00063afd7e4e6470e8f580da68027 /utils/templates | |
parent | 89df9d91412c2ebb8817e72c0ca9c8cfc5852f66 (diff) | |
download | searxng-9b5a7f7559faf121e44ba3e7260290bd7efe74bf.tar.gz searxng-9b5a7f7559faf121e44ba3e7260290bd7efe74bf.zip |
utils/searx.sh: add script to install isolated searx service
First version which serves searx over uwsgi at http://127.0.0.1:8888
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/templates')
-rw-r--r-- | utils/templates/etc/uwsgi/apps-available/searx.ini | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/templates/etc/uwsgi/apps-available/searx.ini b/utils/templates/etc/uwsgi/apps-available/searx.ini index 138a57384..d3893b3ad 100644 --- a/utils/templates/etc/uwsgi/apps-available/searx.ini +++ b/utils/templates/etc/uwsgi/apps-available/searx.ini @@ -10,7 +10,7 @@ uid = ${SERVICE_USER} gid = ${SERVICE_GROUP} # chdir to specified directory before apps loading -chdir = ${SEARX_SRC} +chdir = ${SEARX_SRC}/searx # disable logging for privacy disable-logging = true @@ -28,7 +28,7 @@ master = true lazy-apps = true # load uWSGI plugins -plugin = python3 +plugin = python3,http # By default the Python plugin does not initialize the GIL. This means your # app-generated threads will not run. If you need threads, remember to enable @@ -50,7 +50,7 @@ module = searx.webapp virtualenv = ${SEARX_PYENV} # add directory (or glob) to pythonpath -pythonpath = ${SERVICE_HOME} +pythonpath = ${SEARX_SRC} # plugin http |