aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2018-09-03 01:02:28 +0200
committerGitHub <noreply@github.com>2018-09-03 01:02:28 +0200
commite5d9f9cece396f8c82326bf3b458ac4442535db1 (patch)
treedd1bf25bc567e87c03cd9826536ab21f11fdbe67 /scripts/install
parenta8cd8031cd6cc85125ff7fafc10443c975cf209c (diff)
downloadmastodon_ynh-e5d9f9cece396f8c82326bf3b458ac4442535db1.tar.gz
mastodon_ynh-e5d9f9cece396f8c82326bf3b458ac4442535db1.tar.bz2
mastodon_ynh-e5d9f9cece396f8c82326bf3b458ac4442535db1.zip
Revert "Nginx : CSP + typo" (#113)
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/install b/scripts/install
index ffa152a..cd9a1ce 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
#=================================================