From 426f0b2ddf29cf80abe51228ea4d4410106bb4f7 Mon Sep 17 00:00:00 2001 From: maniack Date: Sat, 8 Feb 2020 12:43:49 +0100 Subject: [PATCH] Move nginx after php --- scripts/upgrade | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 #=================================================