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:
parent
a5bba76244
commit
463daf0db6
1 changed files with 3 additions and 0 deletions
|
@ -74,6 +74,7 @@ sudo gitlab-ctl reconfigure
|
||||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||||
nginx_conf=../conf/nginx.conf
|
nginx_conf=../conf/nginx.conf
|
||||||
sed -i "s@YNH_WWW_PATH@$path_url@g" $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
|
# sed -i "s@YNH_WWW_ALIAS@$src_path/@g" $nginx_conf
|
||||||
# If a dedicated php-fpm process is used:
|
# If a dedicated php-fpm process is used:
|
||||||
# Don't forget to modify ../conf/nginx.conf accordingly or your app will not work!
|
# 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
|
fi
|
||||||
|
|
||||||
# Reload services
|
# Reload services
|
||||||
|
sudo yunohost app ssowatconf
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
|
sudo gitlab-ctl restart
|
||||||
|
|
Loading…
Reference in a new issue