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:
parent
acd2a0a51e
commit
6b5d40b3ac
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ ynh_webpath_register $app $domain $path_url
|
||||||
|
|
||||||
# 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%/}@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_ALIAS@$src_path/htdocs/@g" $nginx_conf
|
||||||
sed -i "s@YNH_WWW_APP@$app@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
|
sudo cp $nginx_conf /etc/nginx/conf.d/$domain.d/$app.conf
|
||||||
|
|
Loading…
Reference in a new issue