From 083c05babe7186a8405c741e6e947023e64a991f Mon Sep 17 00:00:00 2001 From: frju365 Date: Fri, 3 Mar 2017 01:36:26 +0100 Subject: [PATCH] Update install --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 2ff06c2..2bd5454 100644 --- a/scripts/install +++ b/scripts/install @@ -138,8 +138,10 @@ sudo rm $final_path/install.php nginxconf="../conf/nginx.conf" if [ $path_url = "/" ]; then sed -i "s@YNH_WWW_ROOTPATH@@g" ../conf/nginx.conf + sed -i "s@YNH_WWW_ROOTAPP@/@g" ../conf/nginx.conf else sed -i "s@YNH_WWW_ROOTPATH@$path_url@g" ../conf/nginx.conf + sed -i "s@YNH_WWW_ROOTAPP@$path_url$path_url@g" ../conf/nginx.conf fi sed -i "s@YNH_WWW_PATH@$path_url@g" $nginxconf sed -i "s@YNH_WWW_FINALPATH@$final_path@g" $nginxconf