From 58fa9ec7445685ac0715abb6201f98be5b313378 Mon Sep 17 00:00:00 2001 From: frju365 Date: Fri, 3 Mar 2017 19:29:22 +0100 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 1ba650a..8ef65d0 100644 --- a/scripts/install +++ b/scripts/install @@ -138,7 +138,7 @@ sudo rm $final_path/install.php nginxrootconf="../conf/nginx-root.conf" nginxconf="../conf/nginx.conf" if [ $path_url = "/" ]; then - sed -i "s@YNH_WWW_ROOTPATH@@g" $nginxrootconf + sed -i "s@ROOT_PATH@/var/www/$app@g" $nginxrootconf sed -i "s@APP_URL@$domain$path_url@g" $nginxrootconf sudo chown root: $nginxrootconf sudo chmod 644 $nginxrootconf