aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2018-09-03 01:03:00 +0200
committerGitHub <noreply@github.com>2018-09-03 01:03:00 +0200
commitf2627089056428d1b93faa1a306d398be32db4e8 (patch)
treef7998a2d5811be968c44beaf902a2cfcad73e8a9 /scripts/install
parente5d9f9cece396f8c82326bf3b458ac4442535db1 (diff)
parentaaa1b11ad1ae6c2cc620567ce9dee7a7eba86023 (diff)
downloadmastodon_ynh-f2627089056428d1b93faa1a306d398be32db4e8.tar.gz
mastodon_ynh-f2627089056428d1b93faa1a306d398be32db4e8.tar.bz2
mastodon_ynh-f2627089056428d1b93faa1a306d398be32db4e8.zip
Merge pull request #114 from YunoHost-Apps/patch-z
Patch to 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 cd9a1ce..8c18517 100644
--- a/scripts/install
+++ b/scripts/install
@@ -274,6 +274,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