diff --git a/scripts/upgrade b/scripts/upgrade index 849dc80..11db23a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -111,6 +111,8 @@ else pushd $install_dir/ghost # Make sure the app does not expect to manage its own process ynh_exec_as $app $ynh_node_load_PATH $install_dir/node_modules/ghost-cli/bin/ghost config --process local + # Make sure the app config runs on https + ynh_exec_as $app $ynh_node_load_PATH $install_dir/node_modules/ghost-cli/bin/ghost config --url https://$domain$path # Upgrade Ghost itself ynh_exec_as $app $ynh_node_load_PATH $install_dir/node_modules/ghost-cli/bin/ghost update $(ynh_app_upstream_version) \ --no-prompt --no-auto-rollback --no-restart