From b59b200f322d33c1fd72bdea413311b87e2d8eab Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 9 Dec 2020 18:44:04 +0100 Subject: [PATCH] add port variable for NGINX regen config --- scripts/change_url | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index d841e6e..27da421 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -27,11 +27,12 @@ ynh_script_progression --message="Loading installation settings..." public_path=$(ynh_app_setting_get --app="$app" --key=public_path) final_path=$(ynh_app_setting_get --app="$app" --key=final_path) is_public=$(ynh_app_setting_get --app="$app" --key=is_public) +port=$(ynh_app_setting_get --app="$app" --key=port) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up the app before changing its url (may take a while)..." --weight=40 +ynh_script_progression --message="Backing up the app before changing its URL (may take a while)..." --weight=40 # Backup the current version of the app ynh_backup_before_upgrade