From 2da0e89a08076455c9329004a4d0dcb0c68c6a40 Mon Sep 17 00:00:00 2001 From: opi Date: Sun, 24 Apr 2016 18:12:03 +0200 Subject: [PATCH] Fix uwsgi script_name for root installation. --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index dfbf691..286b4d0 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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;