From c2cfaf9c70e3e2b43e7ed0879072a475607ec65d Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 18 Dec 2021 22:24:05 +0100 Subject: [PATCH] Fix change_url --- scripts/change_url | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/change_url b/scripts/change_url index 2ff1576..0a5fd03 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -89,8 +89,11 @@ then # Set global variables for NGINX helper domain="$old_domain" path_url="$new_path" + path="$new_path" # Create a dedicated NGINX config ynh_add_nginx_config +else + path="$old_path" fi # Change the domain for NGINX