diff --git a/scripts/change_url b/scripts/change_url index 3984838..e6ca3af 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -33,7 +33,7 @@ nginx_conf_path=/etc/nginx/conf.d/$old_domain.d/$app.conf # Change the path in the nginx config file if [ $change_path -eq 1 ] then - ynh_replace_string "location $old_path" "location $new_path" "$nginx_conf_path" + ynh_replace_string "$old_path" "$new_path" "$nginx_conf_path" fi # Change the domain for nginx