From c7e4db187ad8daa050c172255657690aa53d8241 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 18 Apr 2019 04:57:59 +0200 Subject: [PATCH] reorder --- scripts/install | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/install b/scripts/install index ab21410..136f4b1 100755 --- a/scripts/install +++ b/scripts/install @@ -77,6 +77,14 @@ ynh_app_setting_set $app final_path $final_path # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source "$final_path" +#================================================= +# NGINX CONFIGURATION +#================================================= +ynh_print_info "Configuring nginx web server..." + +# Create a dedicated nginx config +ynh_add_nginx_config + #================================================= # MODIFY A CONFIG FILE #================================================= @@ -100,14 +108,6 @@ ynh_replace_string "__PASSWORD__" "$admin_password" "../conf/sql/admin.sql" ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" < "../conf/sql/admin.sql" -#================================================= -# NGINX CONFIGURATION -#================================================= -ynh_print_info "Configuring nginx web server..." - -# Create a dedicated nginx config -ynh_add_nginx_config - #================================================= # CREATE DEDICATED USER #=================================================