aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install3
-rw-r--r--scripts/upgrade3
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/install b/scripts/install
index ee17c03..8c18517 100644
--- a/scripts/install
+++ b/scripts/install
@@ -134,6 +134,9 @@ ynh_setup_source "$final_path/live" "app-mastodon"
# NGINX CONFIGURATION
#=================================================
+# Create a dedicated nginx config
+ynh_replace_string "__PORT_WEB__" "$port_web" "../conf/nginx.conf"
+ynh_replace_string "__PORT_STREAM__" "$port_stream" "../conf/nginx.conf"
ynh_add_nginx_config
#=================================================
diff --git a/scripts/upgrade b/scripts/upgrade
index 3b42aa6..0429013 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -120,9 +120,6 @@ 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"