aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authorfrju365 <win10@tutanota.com>2018-08-31 01:47:32 +0200
committerGitHub <noreply@github.com>2018-08-31 01:47:32 +0200
commit19c46d2d2bf3a02aba89ee0596f8b5f95e15a642 (patch)
tree216dc25b83b8fc66eb52d1a93782e553c5b85a8a /scripts/install
parenta8cd8031cd6cc85125ff7fafc10443c975cf209c (diff)
downloadmastodon_ynh-19c46d2d2bf3a02aba89ee0596f8b5f95e15a642.tar.gz
mastodon_ynh-19c46d2d2bf3a02aba89ee0596f8b5f95e15a642.tar.bz2
mastodon_ynh-19c46d2d2bf3a02aba89ee0596f8b5f95e15a642.zip
[fix] nginx conf
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/install b/scripts/install
index ffa152a..ee17c03 100644
--- a/scripts/install
+++ b/scripts/install
@@ -271,6 +271,8 @@ ynh_app_setting_set "$app" unprotected_uris "/"
# RELOAD NGINX
#=================================================
+ynh_replace_string "__PORT_WEB__" "$port_web" "../conf/nginx.conf"
+ynh_replace_string "__PORT_STREAM__" "$port_stream" "../conf/nginx.conf"
# Reload Nginx
systemctl reload nginx