Explorar el Código

add variable $domain and remove static test

root hace 7 años
padre
commit
c2d5ff72f4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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