on master help sign in
[fix] Disable HTTP keep alive

Fix HTTP 429 response from filtron See https://github.com/searx/searx-docker/issues/24

commit0579d9378301409f21eb806e7c32ddf8a8bbb6ec authorDalf <alex@al-f.net> dateFri 7 Feb 2020, 19:16 (7 years ago) parentf9c7a67
1 file changed+4
dockerfiles/uwsgi.ini+4
dockerfiles/uwsgi.ini+4
@@ -31,3 +31,7 @@ touch-logrotate = /run/uwsgi-logrotate
3131unique-cron = 15 0 -1 -1 -1 { touch /run/uwsgi-logrotate }
3232log-backupname = /var/log/uwsgi/uwsgi.log.1
3333logto = /var/log/uwsgi/uwsgi.log
34+
35+# No keep alive
36+# See https://github.com/searx/searx-docker/issues/24
37+add-header = Connection: close