From 6b5d40b3acf52eb1df5d42da20caba7e3a31ba72 Mon Sep 17 00:00:00 2001 From: Olivier BILHAUT Date: Fri, 26 Jan 2018 17:53:34 +0100 Subject: [PATCH] Replaced path by path_url on line 102 --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 7ea7017..6ecea88 100644 --- a/scripts/install +++ b/scripts/install @@ -99,7 +99,7 @@ ynh_webpath_register $app $domain $path_url # Modify Nginx configuration file and copy it to Nginx conf directory nginx_conf=../conf/nginx.conf - sed -i "s@YNH_WWW_PATH@${path%/}@g" $nginx_conf + sed -i "s@YNH_WWW_PATH@${path_url%/}@g" $nginx_conf sed -i "s@YNH_WWW_ALIAS@$src_path/htdocs/@g" $nginx_conf sed -i "s@YNH_WWW_APP@$app@g" $nginx_conf sudo cp $nginx_conf /etc/nginx/conf.d/$domain.d/$app.conf