Преглед изворни кода

add variable $domain and remove static test

root пре 7 година
родитељ
комит
c2d5ff72f4
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      scripts/restore

+ 1 - 1
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