From c2d5ff72f4e93a236c9ae6c6c2f7f71e82158b7d Mon Sep 17 00:00:00 2001 From: root Date: Thu, 20 Dec 2018 15:57:38 +0000 Subject: [PATCH] add variable $domain and remove static test --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index eb84da0..f712ca0 100644 --- a/scripts/restore +++ b/scripts/restore @@ -83,7 +83,7 @@ ynh_app_setting_set $app final_path $final_path # Create a dedicated nginx config -ynh_restore_file "/etc/nginx/conf.d/mike.test.d/$app.conf" +ynh_restore_file "/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= # PHP-FPM CONFIGURATION