diff --git a/scripts/upgrade b/scripts/upgrade index cb647b3..65727b4 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -116,14 +116,6 @@ then ynh_setup_source --dest_dir="$final_path" fi -#================================================= -# NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Upgrading nginx web server configuration..." --time --weight=1 - -# Create a dedicated nginx config -ynh_add_nginx_config php_version - #================================================= # UPGRADE DEPENDENCIES #================================================= @@ -147,6 +139,14 @@ ynh_script_progression --message="Upgrading php-fpm configuration..." --time --w # Create a dedicated php-fpm config ynh_add_fpm_config +#================================================= +# NGINX CONFIGURATION +#================================================= +ynh_script_progression --message="Upgrading nginx web server configuration..." --time --weight=1 + +# Create a dedicated nginx config +ynh_add_nginx_config php_version + #================================================= # SPECIFIC UPGRADE #=================================================