From 0d37d1c138113c71c5932a6da3089362f387c907 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Mon, 28 Jan 2019 22:58:03 +0100 Subject: [PATCH] Remove X-script-Name when root --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index d1d10e6..e4c3a8a 100755 --- a/scripts/install +++ b/scripts/install @@ -93,7 +93,7 @@ pip install --target $final_path/vendor -r $final_path/requirements.txt #================================================= #Cannot use empty string for X-script-name, causes an issue in the python prg if [ $path_url = "/" ] ; then - ynh_replace_string "X-Script-Name __PATH__;" "X-Script-Name $app;" ../conf/nginx.conf + ynh_replace_string " proxy_set_header X-Script-Name" "# proxy_set_header X-Script-Name" ../conf/nginx.conf fi # Create a dedicated nginx config