|
@@ -27,18 +27,13 @@ chdir = /usr/local/searxng/searx/
|
|
|
# automatically set processes name to something meaningful
|
|
|
auto-procname = true
|
|
|
|
|
|
-# Disable logging for privacy
|
|
|
+# Disable request logging for privacy
|
|
|
disable-logging = true
|
|
|
+log-5xx = true
|
|
|
|
|
|
# Set the max size of a request (request-body excluded)
|
|
|
buffer-size = 8192
|
|
|
|
|
|
-# But keep errors for 2 days
|
|
|
-touch-logrotate = /run/uwsgi-logrotate
|
|
|
-unique-cron = 15 0 -1 -1 -1 { touch /run/uwsgi-logrotate }
|
|
|
-log-backupname = /var/log/uwsgi/uwsgi.log.1
|
|
|
-logto = /var/log/uwsgi/uwsgi.log
|
|
|
-
|
|
|
# No keep alive
|
|
|
# See https://github.com/searx/searx-docker/issues/24
|
|
|
add-header = Connection: close
|