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

Replaced path by path_url on line 102

This commit is contained in:
Olivier BILHAUT 2018-01-26 17:53:34 +01:00 committed by Jeff
parent acd2a0a51e
commit 6b5d40b3ac

View file

@ -99,7 +99,7 @@ ynh_webpath_register $app $domain $path_url
# Modify Nginx configuration file and copy it to Nginx conf directory
nginx_conf=../conf/nginx.conf
sed -i "s@YNH_WWW_PATH@${path%/}@g" $nginx_conf
sed -i "s@YNH_WWW_PATH@${path_url%/}@g" $nginx_conf
sed -i "s@YNH_WWW_ALIAS@$src_path/htdocs/@g" $nginx_conf
sed -i "s@YNH_WWW_APP@$app@g" $nginx_conf
sudo cp $nginx_conf /etc/nginx/conf.d/$domain.d/$app.conf