fix limiter issue (#36)

see https://github.com/searxng/searxng/issues/1492 and https://github.com/searxng/searxng/issues/1289#issuecomment-1153004382

Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: #36
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
This commit is contained in:
meaz 2023-01-13 17:01:42 +00:00
parent 84a1e2991d
commit e69f196489
1 changed files with 3 additions and 2 deletions

View File

@ -18,9 +18,10 @@
include uwsgi_params;
uwsgi_pass unix://{{ searx_socket }};
uwsgi_param HTTP_HOST $host;
uwsgi_param HTTP_CONNECTION $http_connection;
#uwsgi_param HTTP_CONNECTION $http_connection;
uwsgi_param HTTP_CONNECTION '';
uwsgi_param HTTP_X_SCHEME $scheme;
uwsgi_param HTTP_X_SCRIPT_NAME {{ searx_app_dir }};
#uwsgi_param HTTP_X_SCRIPT_NAME {{ searx_app_dir }};
uwsgi_param HTTP_X_REAL_IP $remote_addr;
uwsgi_param HTTP_X_FORWARDED_FOR $proxy_add_x_forwarded_for;
{% endif %}