fix couple of issues on searx (#33)

Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: #33
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
Co-authored-by: meaz <meaz@no-reply@disroot.org>
Co-committed-by: meaz <meaz@no-reply@disroot.org>
This commit is contained in:
meaz 2022-11-15 23:47:32 +00:00 committed by muppeth
parent a26f5fe40a
commit 7d851c4fdf

View file

@ -14,10 +14,9 @@
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Script-Name {{ searx_app_dir }};
{% endif %}
{% else %}
include uwsgi_params;
uwsgi_pass unix:{{ searx_socket }};
uwsgi_pass unix://{{ searx_socket }};
uwsgi_param HTTP_HOST $host;
uwsgi_param HTTP_CONNECTION $http_connection;
uwsgi_param HTTP_X_SCHEME $scheme;