Browse Source

[fix] Disable HTTP keep alive

Fix HTTP 429 response from filtron
See https://github.com/searx/searx-docker/issues/24
Dalf 5 years ago
parent
commit
0579d93783
1 changed files with 4 additions and 0 deletions
  1. 4 0
      dockerfiles/uwsgi.ini

+ 4 - 0
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