forked from zaclys/searxng
[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
This commit is contained in:
parent
88733c0ce6
commit
2b94fef7ec
|
@ -70,6 +70,7 @@ pythonpath = ${SEARXNG_SRC}
|
||||||
# Native HTTP support: https://uwsgi-docs.readthedocs.io/en/latest/HTTP.html
|
# Native HTTP support: https://uwsgi-docs.readthedocs.io/en/latest/HTTP.html
|
||||||
|
|
||||||
http = ${SEARXNG_INTERNAL_HTTP}
|
http = ${SEARXNG_INTERNAL_HTTP}
|
||||||
|
buffer-size = 8192
|
||||||
|
|
||||||
# uWSGI serves the static files and in settings.yml we use::
|
# uWSGI serves the static files and in settings.yml we use::
|
||||||
#
|
#
|
||||||
|
|
|
@ -67,6 +67,7 @@ pythonpath = ${SEARXNG_SRC}
|
||||||
# -----------------
|
# -----------------
|
||||||
|
|
||||||
socket = ${SEARXNG_UWSGI_SOCKET}
|
socket = ${SEARXNG_UWSGI_SOCKET}
|
||||||
|
buffer-size = 8192
|
||||||
|
|
||||||
# uWSGI serves the static files and in settings.yml we use::
|
# uWSGI serves the static files and in settings.yml we use::
|
||||||
#
|
#
|
||||||
|
|
|
@ -73,6 +73,7 @@ pythonpath = ${SEARXNG_SRC}
|
||||||
# Native HTTP support: https://uwsgi-docs.readthedocs.io/en/latest/HTTP.html
|
# Native HTTP support: https://uwsgi-docs.readthedocs.io/en/latest/HTTP.html
|
||||||
|
|
||||||
http = ${SEARXNG_INTERNAL_HTTP}
|
http = ${SEARXNG_INTERNAL_HTTP}
|
||||||
|
buffer-size = 8192
|
||||||
|
|
||||||
# uWSGI serves the static files and in settings.yml we use::
|
# uWSGI serves the static files and in settings.yml we use::
|
||||||
#
|
#
|
||||||
|
|
|
@ -70,6 +70,7 @@ pythonpath = ${SEARXNG_SRC}
|
||||||
# -----------------
|
# -----------------
|
||||||
|
|
||||||
socket = ${SEARXNG_UWSGI_SOCKET}
|
socket = ${SEARXNG_UWSGI_SOCKET}
|
||||||
|
buffer-size = 8192
|
||||||
|
|
||||||
# uWSGI serves the static files and in settings.yml we use::
|
# uWSGI serves the static files and in settings.yml we use::
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue