From 0579d9378301409f21eb806e7c32ddf8a8bbb6ec Mon Sep 17 00:00:00 2001 From: Dalf Date: Fri, 7 Feb 2020 19:16:15 +0100 Subject: [PATCH] [fix] Disable HTTP keep alive Fix HTTP 429 response from filtron See https://github.com/searx/searx-docker/issues/24 --- dockerfiles/uwsgi.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dockerfiles/uwsgi.ini b/dockerfiles/uwsgi.ini index fa2fd6302..ecc4b394e 100644 --- a/dockerfiles/uwsgi.ini +++ b/dockerfiles/uwsgi.ini @@ -31,3 +31,7 @@ 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