mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 20:17:45 +01:00
Merge pull request #699 from dalf/uwsgi
[mod] adjust dockerfiles/uwsgi.ini
This commit is contained in:
commit
93c6829b27
@ -4,7 +4,8 @@ uid = searxng
|
|||||||
gid = searxng
|
gid = searxng
|
||||||
|
|
||||||
# Number of workers (usually CPU count)
|
# Number of workers (usually CPU count)
|
||||||
workers = 4
|
workers = %k
|
||||||
|
threads = 4
|
||||||
|
|
||||||
# The right granted on the created socket
|
# The right granted on the created socket
|
||||||
chmod-socket = 666
|
chmod-socket = 666
|
||||||
@ -23,8 +24,14 @@ module = searx.webapp
|
|||||||
pythonpath = /usr/local/searxng/
|
pythonpath = /usr/local/searxng/
|
||||||
chdir = /usr/local/searxng/searx/
|
chdir = /usr/local/searxng/searx/
|
||||||
|
|
||||||
|
# automatically set processes name to something meaningful
|
||||||
|
auto-procname = true
|
||||||
|
|
||||||
# Disable logging for privacy
|
# Disable logging for privacy
|
||||||
disable-logging=True
|
disable-logging = true
|
||||||
|
|
||||||
|
# Set the max size of a request (request-body excluded)
|
||||||
|
buffer-size = 8192
|
||||||
|
|
||||||
# But keep errors for 2 days
|
# But keep errors for 2 days
|
||||||
touch-logrotate = /run/uwsgi-logrotate
|
touch-logrotate = /run/uwsgi-logrotate
|
||||||
|
Loading…
Reference in New Issue
Block a user