Fix uwsgi script_name for root installation.

This commit is contained in:
opi 2016-04-24 18:12:03 +02:00
parent ea9e5bb5c4
commit 2da0e89a08
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ location YNH_WWW_LOCATION {
}
location @searx {
uwsgi_param SCRIPT_NAME 'YNH_WWW_PATH';
uwsgi_param SCRIPT_NAME '';
include uwsgi_params;
uwsgi_modifier1 30;
uwsgi_pass unix:///run/uwsgi/app/searx/socket;