瀏覽代碼

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