From 257df84a83c839962f7b30bc0f98e629194aa2d7 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Tue, 9 Aug 2022 20:40:47 -0400 Subject: [PATCH] fix var position --- scripts/install | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/install b/scripts/install index b82eeb7..b7795f8 100755 --- a/scripts/install +++ b/scripts/install @@ -115,14 +115,6 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -#================================================= -# NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Configuring NGINX web server..." --weight=1 - -# Create a dedicated NGINX config -ynh_add_nginx_config - #================================================= # CREATE DATA DIRECTORY #================================================= @@ -137,6 +129,14 @@ chmod 750 "$datadir" chmod -R o-rwx "$datadir" chown -R $app:www-data "$datadir" +#================================================= +# NGINX CONFIGURATION +#================================================= +ynh_script_progression --message="Configuring NGINX web server..." --weight=1 + +# Create a dedicated NGINX config +ynh_add_nginx_config + #================================================= # ADD A CONFIGURATION #=================================================