diff --git a/scripts/install b/scripts/install index 1be8b28..e4f3eb1 100755 --- a/scripts/install +++ b/scripts/install @@ -28,7 +28,7 @@ sudo chmod 700 $final_path/{data,tmp} # Modify Nginx configuration file and copy it to Nginx conf directory sed -i "s@YNH_WWW_PATH@$path@g" ../conf/nginx.conf -sed -i "s@YNH_WWW_ALIAS@$final_path/@g" ../conf/nginx. +sed -i "s@YNH_WWW_ALIAS@$final_path/@g" ../conf/nginx.conf nginxconf=/etc/nginx/conf.d/$domain.d/zerobin.conf sudo cp ../conf/nginx.conf $nginxconf sudo chown root: $nginxconf