| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 | [uwsgi]# Who will run the codeuid = searxnggid = searxng# Number of workers (usually CPU count)# default value: %k (= number of CPU core, see Dockerfile)workers = $(UWSGI_WORKERS)# Number of threads per worker# default value: 4 (see Dockerfile)threads = $(UWSGI_THREADS)# The right granted on the created socketchmod-socket = 666# Plugin to use and interpreter 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 filesstatic-map = /static=/usr/local/searxng/searx/static# expires set to one daystatic-expires = /* 86400static-gzip-all = Trueoffload-threads = %k
 |