forked from zaclys/searxng
update install docs on reverse proxy
This commit is contained in:
parent
9c56154cfe
commit
2430baa1fd
|
@ -171,6 +171,8 @@ Add this configuration in the server config file
|
||||||
location = /searx { rewrite ^ /searx/; }
|
location = /searx { rewrite ^ /searx/; }
|
||||||
location /searx {
|
location /searx {
|
||||||
try_files $uri @searx;
|
try_files $uri @searx;
|
||||||
|
proxy_pass http://localhost:9999/;
|
||||||
|
proxy_set_header X-Script-Name /searx;
|
||||||
}
|
}
|
||||||
location @searx {
|
location @searx {
|
||||||
uwsgi_param SCRIPT_NAME /searx;
|
uwsgi_param SCRIPT_NAME /searx;
|
||||||
|
@ -179,6 +181,7 @@ Add this configuration in the server config file
|
||||||
uwsgi_pass unix:/run/uwsgi/app/searx/socket;
|
uwsgi_pass unix:/run/uwsgi/app/searx/socket;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Enable base\_url in searx/settings.yml
|
Enable base\_url in searx/settings.yml
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
Loading…
Reference in New Issue