From ab7567509813e5b6ba0c7a0fa04380dc33dca1b9 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 9 Feb 2021 14:59:23 +0100 Subject: [PATCH] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index c218935..26b36c6 100755 --- a/scripts/install +++ b/scripts/install @@ -59,7 +59,8 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, the source from sources folder mkdir -p $final_path && cp -a ../sources/* $final_path -ynh_replace_string --match_string="__DOMAIN____PATH__" --replace_string="$domain$path_url" --target_file="$final_path/index.html" +ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="$final_path/index.html" +ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$final_path/index.html" #================================================= # NGINX CONFIGURATION