aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 207858e..0429013 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -116,11 +116,10 @@ ynh_secure_remove $final_path/live/config/initializers/timeout.rb
# NGINX CONFIGURATION
#=================================================
+ynh_replace_string "__PORT_WEB__" "$port_web" "../conf/nginx.conf"
+ynh_replace_string "__PORT_STREAM__" "$port_stream" "../conf/nginx.conf"
ynh_add_nginx_config
-#=================================================
-# UPGRADE MASTODON
-#=================================================
# Upgrade rbenv and ruby plugins
ynh_setup_source "$final_path/.rbenv" "app-rbenv"