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