diff --git a/scripts/change_url b/scripts/change_url index aee7425..2705f2f 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -34,6 +34,8 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #db_name=$(ynh_app_setting_get --app=$app --key=db_name) #db_user=$db_name #db_pwd=$(ynh_app_setting_get --app=$app --key=db_pwd) +rocket_port=$(ynh_app_setting_get --app=$app --key=rocket_port) +websocket_port=$(ynh_app_setting_get --app=$app --key=websocket_port) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP @@ -93,7 +95,7 @@ then domain="$old_domain" path_url="$new_path" # Create a dedicated nginx config - ynh_add_nginx_config + ynh_add_nginx_config "websocket_port rocket_port" fi # Change the domain for nginx