diff options
author | Léon Tiekötter <leon@tiekoetter.com> | 2022-07-31 11:40:43 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-07-31 12:40:06 +0200 |
commit | 2b94fef7ec38e72acb8103634a55aabbf13e405d (patch) | |
tree | 0e05bb1e28a388b7c8b5cbafc69415e447af9bdb /utils | |
parent | 88733c0ce6e76a78593b8e4060e33a617cce3cd8 (diff) | |
download | searxng-2b94fef7ec38e72acb8103634a55aabbf13e405d.tar.gz searxng-2b94fef7ec38e72acb8103634a55aabbf13e405d.zip |
[fix] uWSGI: increase buffer-size
Increase max size of a request, by default it is 4k [1]. 4096 as buffer-size is
too small and will result in the preference urls not working.
[1] https://uwsgi-docs.readthedocs.io/en/latest/Options.html#buffer-size
Diffstat (limited to 'utils')
4 files changed, 4 insertions, 0 deletions
diff --git a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini index 04c32c662..c5b6fb70c 100644 --- a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini +++ b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini @@ -70,6 +70,7 @@ pythonpath = ${SEARXNG_SRC} # Native HTTP support: https://uwsgi-docs.readthedocs.io/en/latest/HTTP.html http = ${SEARXNG_INTERNAL_HTTP} +buffer-size = 8192 # uWSGI serves the static files and in settings.yml we use:: # diff --git a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket index bbfaf63be..404936e7f 100644 --- a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket +++ b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket @@ -67,6 +67,7 @@ pythonpath = ${SEARXNG_SRC} # ----------------- socket = ${SEARXNG_UWSGI_SOCKET} +buffer-size = 8192 # uWSGI serves the static files and in settings.yml we use:: # diff --git a/utils/templates/etc/uwsgi/apps-available/searxng.ini b/utils/templates/etc/uwsgi/apps-available/searxng.ini index 5ea7d991a..10cfeb637 100644 --- a/utils/templates/etc/uwsgi/apps-available/searxng.ini +++ b/utils/templates/etc/uwsgi/apps-available/searxng.ini @@ -73,6 +73,7 @@ pythonpath = ${SEARXNG_SRC} # Native HTTP support: https://uwsgi-docs.readthedocs.io/en/latest/HTTP.html http = ${SEARXNG_INTERNAL_HTTP} +buffer-size = 8192 # uWSGI serves the static files and in settings.yml we use:: # diff --git a/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket b/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket index 304ea3500..698529bf9 100644 --- a/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket +++ b/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket @@ -70,6 +70,7 @@ pythonpath = ${SEARXNG_SRC} # ----------------- socket = ${SEARXNG_UWSGI_SOCKET} +buffer-size = 8192 # uWSGI serves the static files and in settings.yml we use:: # |