summaryrefslogtreecommitdiff
path: root/dockerfiles
diff options
context:
space:
mode:
authorIvan G <igabaldon@inetol.net>2024-04-26 23:42:29 +0200
committerGitHub <noreply@github.com>2024-04-26 23:42:29 +0200
commit0e09014df56d1d3b6011c8022f88790aa5cb37bf (patch)
treeeb24a19e096bea142257f2a245969bd3a48af031 /dockerfiles
parent41f415aabfd9675d2dc5dcdfea03e17ff865f7e2 (diff)
downloadsearxng-0e09014df56d1d3b6011c8022f88790aa5cb37bf.tar.gz
searxng-0e09014df56d1d3b6011c8022f88790aa5cb37bf.zip
Add uWSGI `die-on-term` flag (#3429)
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 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