Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

Add uWSGI `die-on-term` flag (#3429)

Ivan G0e09014df56d
diff --git a/dockerfiles/uwsgi.ini b/dockerfiles/uwsgi.ini
index fc026b792..812716853 100644
--- a/dockerfiles/uwsgi.ini
+++ b/dockerfiles/uwsgi.ini
@@ -42,6 +42,10 @@ buffer-size = 8192
# See https://github.com/searx/searx-docker/issues/24
add-header = Connection: close
+# Follow SIGTERM convention
+# See https://github.com/searxng/searxng/issues/3427
+die-on-term
+
# uwsgi serves the static files
static-map = /static=/usr/local/searxng/searx/static
# expires set to one day