1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlab_ynh.git synced 2024-09-03 18:36:35 +02:00

update nginx conf.

This commit is contained in:
kam 2017-06-28 17:00:31 +02:00
parent a5bba76244
commit 463daf0db6

View file

@ -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