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