| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 | [uwsgi]# Who will run the codeuid = searxnggid = searxng# Number of workers (usually CPU count)workers = %kthreads = 4# The right granted on the created socketchmod-socket = 666# Plugin to use and interpretor configsingle-interpreter = truemaster = trueplugin = python3lazy-apps = trueenable-threads = true# Module to importmodule = searx.webapp# Virtualenv and python pathpythonpath = /usr/local/searxng/chdir = /usr/local/searxng/searx/# automatically set processes name to something meaningfulauto-procname = true# Disable request logging for privacydisable-logging = truelog-5xx = true# Set the max size of a request (request-body excluded)buffer-size = 8192# No keep alive# See https://github.com/searx/searx-docker/issues/24add-header = Connection: close# uwsgi serves the static files# expires set to one year since there are hashesstatic-map = /static=/usr/local/searxng/searx/staticstatic-expires = /* 31557600static-gzip-all = Trueoffload-threads = %k# Cachecache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1
 |