From 463daf0db6c33c94a7ea01b554263cc10b10e5fb Mon Sep 17 00:00:00 2001 From: kam Date: Wed, 28 Jun 2017 17:00:31 +0200 Subject: [PATCH] update nginx conf. --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index f8ce0e1..b318463 100644 --- a/scripts/install +++ b/scripts/install @@ -74,6 +74,7 @@ sudo gitlab-ctl reconfigure # Modify Nginx configuration file and copy it to Nginx conf directory nginx_conf=../conf/nginx.conf sed -i "s@YNH_WWW_PATH@$path_url@g" $nginx_conf +sed -i "s@PORT@$port@g" $nginx_conf # sed -i "s@YNH_WWW_ALIAS@$src_path/@g" $nginx_conf # If a dedicated php-fpm process is used: # Don't forget to modify ../conf/nginx.conf accordingly or your app will not work! @@ -88,4 +89,6 @@ if [[ $is_public -eq 1 ]]; then fi # Reload services +sudo yunohost app ssowatconf sudo service nginx reload +sudo gitlab-ctl restart