summaryrefslogtreecommitdiff
path: root/dockerfiles/uwsgi.ini
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-10-21 12:03:10 +0200
committerGitHub <noreply@github.com>2021-10-21 12:03:10 +0200
commitcec9ded2e664da501955396a2d6c438ae8c117f3 (patch)
tree0629ac7011e3454d7a278fcab7561c1dff0bfe94 /dockerfiles/uwsgi.ini
parentcab98ed6c72025fa6020dede51068b787726d743 (diff)
parent9e03823b98c83e6259197fbfb4bd22db9601d1d5 (diff)
Merge pull request #383 from dalf/searxng-docker
SearXNG: docker
Diffstat (limited to 'dockerfiles/uwsgi.ini')
-rw-r--r--dockerfiles/uwsgi.ini12
1 files changed, 6 insertions, 6 deletions
diff --git a/dockerfiles/uwsgi.ini b/dockerfiles/uwsgi.ini
index 818a99cc0..00b17436d 100644
--- a/dockerfiles/uwsgi.ini
+++ b/dockerfiles/uwsgi.ini
@@ -1,7 +1,7 @@
[uwsgi]
# Who will run the code
-uid = searx
-gid = searx
+uid = searxng
+gid = searxng
# Number of workers (usually CPU count)
workers = 4
@@ -20,8 +20,8 @@ enable-threads = true
module = searx.webapp
# Virtualenv and python path
-pythonpath = /usr/local/searx/
-chdir = /usr/local/searx/searx/
+pythonpath = /usr/local/searxng/
+chdir = /usr/local/searxng/searx/
# Disable logging for privacy
disable-logging=True
@@ -38,10 +38,10 @@ add-header = Connection: close
# uwsgi serves the static files
# expires set to one day as Flask does
-static-map = /static=/usr/local/searx/searx/static
+static-map = /static=/usr/local/searxng/searx/static
static-expires = /* 864000
static-gzip-all = True
offload-threads = %k
# Cache
-cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1
+cache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1