|
@@ -1,3 +1,4 @@
|
|
|
+# -*- mode: conf; coding: utf-8 -*-
|
|
|
[uwsgi]
|
|
|
|
|
|
# uWSGI core
|
|
@@ -78,10 +79,10 @@ http = ${SEARX_INTERNAL_HTTP}
|
|
|
#
|
|
|
# On some distributions you need to create the app folder for the sockets::
|
|
|
#
|
|
|
-# mkdir -p /run/uwsgi/app/searx
|
|
|
-# chown -R ${SERVICE_USER}:${SERVICE_GROUP} /run/uwsgi/app/searx
|
|
|
+# mkdir -p /run/uwsgi/app/searxng
|
|
|
+# chown -R ${SERVICE_USER}:${SERVICE_GROUP} ${SEARX_UWSGI_SOCKET}
|
|
|
#
|
|
|
-# socket = /run/uwsgi/app/searx/socket
|
|
|
+# socket = ${SEARX_UWSGI_SOCKET}
|
|
|
|
|
|
# Cache
|
|
|
cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1
|