From 310601f84bc4a889922a33d06787ba9cf41f109d Mon Sep 17 00:00:00 2001 From: Zamentur aka ljf Date: Tue, 7 Jun 2016 18:06:07 +0200 Subject: [PATCH] [fix] Trailing slash on app name --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 8fa19e0..a1f375d 100644 --- a/scripts/install +++ b/scripts/install @@ -84,7 +84,7 @@ sudo yunohost app addaccess $app -u $admin # Modify Nginx configuration file and copy it to Nginx conf directory sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf -sed -i "s@YNH_APP_INSTANCE_NAME@$app/@g" ../conf/nginx.conf +sed -i "s@YNH_APP_INSTANCE_NAME@$app@g" ../conf/nginx.conf sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf # Reload Nginx and regenerate SSOwat conf sudo service nginx reload