summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dockerfiles/uwsgi.ini4
1 files changed, 4 insertions, 0 deletions
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