mirror of
https://github.com/YunoHost-Apps/concrete5_ynh.git
synced 2024-09-03 18:25:54 +02:00
Update install
This commit is contained in:
parent
a3ddaed0f5
commit
083c05babe
1 changed files with 2 additions and 0 deletions
|
@ -138,8 +138,10 @@ sudo rm $final_path/install.php
|
|||
nginxconf="../conf/nginx.conf"
|
||||
if [ $path_url = "/" ]; then
|
||||
sed -i "s@YNH_WWW_ROOTPATH@@g" ../conf/nginx.conf
|
||||
sed -i "s@YNH_WWW_ROOTAPP@/@g" ../conf/nginx.conf
|
||||
else
|
||||
sed -i "s@YNH_WWW_ROOTPATH@$path_url@g" ../conf/nginx.conf
|
||||
sed -i "s@YNH_WWW_ROOTAPP@$path_url$path_url@g" ../conf/nginx.conf
|
||||
fi
|
||||
sed -i "s@YNH_WWW_PATH@$path_url@g" $nginxconf
|
||||
sed -i "s@YNH_WWW_FINALPATH@$final_path@g" $nginxconf
|
||||
|
|
Loading…
Add table
Reference in a new issue