diff options
author | Ivan G <igabaldon@inetol.net> | 2024-04-26 23:42:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-26 23:42:29 +0200 |
commit | 0e09014df56d1d3b6011c8022f88790aa5cb37bf (patch) | |
tree | eb24a19e096bea142257f2a245969bd3a48af031 /dockerfiles/uwsgi.ini | |
parent | 41f415aabfd9675d2dc5dcdfea03e17ff865f7e2 (diff) | |
download | searxng-0e09014df56d1d3b6011c8022f88790aa5cb37bf.tar.gz searxng-0e09014df56d1d3b6011c8022f88790aa5cb37bf.zip |
Add uWSGI `die-on-term` flag (#3429)
Diffstat (limited to 'dockerfiles/uwsgi.ini')
-rw-r--r-- | dockerfiles/uwsgi.ini | 4 |
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 |