Spaces:
Running
Running
Delete searxng/uwsgi.ini.new
Browse files- searxng/uwsgi.ini.new +0 -54
searxng/uwsgi.ini.new
DELETED
@@ -1,54 +0,0 @@
|
|
1 |
-
[uwsgi]
|
2 |
-
# Who will run the code
|
3 |
-
uid = searxng
|
4 |
-
gid = searxng
|
5 |
-
|
6 |
-
# Number of workers (usually CPU count)
|
7 |
-
# default value: %k (= number of CPU core, see Dockerfile)
|
8 |
-
workers = %k
|
9 |
-
|
10 |
-
# Number of threads per worker
|
11 |
-
# default value: 4 (see Dockerfile)
|
12 |
-
threads = 4
|
13 |
-
|
14 |
-
# The right granted on the created socket
|
15 |
-
chmod-socket = 666
|
16 |
-
|
17 |
-
# Plugin to use and interpreter config
|
18 |
-
single-interpreter = true
|
19 |
-
master = true
|
20 |
-
plugin = python3
|
21 |
-
lazy-apps = true
|
22 |
-
enable-threads = 4
|
23 |
-
|
24 |
-
# Module to import
|
25 |
-
module = searx.webapp
|
26 |
-
|
27 |
-
# Virtualenv and python path
|
28 |
-
pythonpath = /usr/local/searxng/
|
29 |
-
chdir = /usr/local/searxng/searx/
|
30 |
-
|
31 |
-
# automatically set processes name to something meaningful
|
32 |
-
auto-procname = true
|
33 |
-
|
34 |
-
# Disable request logging for privacy
|
35 |
-
disable-logging = true
|
36 |
-
log-5xx = true
|
37 |
-
|
38 |
-
# Set the max size of a request (request-body excluded)
|
39 |
-
buffer-size = 8192
|
40 |
-
|
41 |
-
# No keep alive
|
42 |
-
# See https://github.com/searx/searx-docker/issues/24
|
43 |
-
add-header = Connection: close
|
44 |
-
|
45 |
-
# Follow SIGTERM convention
|
46 |
-
# See https://github.com/searxng/searxng/issues/3427
|
47 |
-
die-on-term
|
48 |
-
|
49 |
-
# uwsgi serves the static files
|
50 |
-
static-map = /static=/usr/local/searxng/searx/static
|
51 |
-
# expires set to one day
|
52 |
-
static-expires = /* 86400
|
53 |
-
static-gzip-all = True
|
54 |
-
offload-threads = 4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|