From ebf27696812e74fd6dcee50644f7d87e174a3674 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Fri, 10 Apr 2020 14:19:41 +0200 Subject: [PATCH] sripts modified, try to resolve change url --- scripts/change_url | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index a262f9b..87a60f7 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -102,8 +102,7 @@ fi # Change the domain for nginx if [ $change_domain -eq 1 ] then - domain="$new_domain" - # Delete file checksum for the old conf file location + # Delete file checksum for the old conf file location ynh_delete_file_checksum --file="$nginx_conf_path" mv $nginx_conf_path /etc/nginx/conf.d/$new_domain.d/$app.conf # Store file checksum for the new config file location