| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 | [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# Follow SIGTERM convention# See https://github.com/searxng/searxng/issues/3427die-on-term# uwsgi serves the static filesstatic-map = /static=/usr/local/searxng/searx/staticstatic-gzip-all = Trueoffload-threads = %k
 |