summaryrefslogtreecommitdiff
path: root/dockerfiles
diff options
context:
space:
mode:
authorDalf <alex@al-f.net>2020-02-07 19:16:15 +0100
committerDalf <alex@al-f.net>2020-02-07 19:16:15 +0100
commit0579d9378301409f21eb806e7c32ddf8a8bbb6ec (patch)
tree871b7dda74973932604c84fdab728f4114383574 /dockerfiles
parentf9c7a678d273c55a0e8a1a7a2dbfd696b2046e60 (diff)
[fix] Disable HTTP keep alive
Fix HTTP 429 response from filtron See https://github.com/searx/searx-docker/issues/24
Diffstat (limited to 'dockerfiles')
-rw-r--r--dockerfiles/uwsgi.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/dockerfiles/uwsgi.ini b/dockerfiles/uwsgi.ini
index fa2fd630..ecc4b394 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