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
461b90edf3
commit
88851c2754
1 changed files with 2 additions and 2 deletions
|
@ -136,8 +136,8 @@ sudo rm $final_path/install.php
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
nginxconf="../conf/nginx.conf"
|
nginxconf="../conf/nginx.conf"
|
||||||
sed -i "s@YNH_WWW_PATH@$path_url@g" $nginx_conf
|
sed -i "s@YNH_WWW_PATH@$path_url@g" $nginxconf
|
||||||
sed -i "s@YNH_WWW_ALIAS@$final_path@g" $nginx_conf
|
sed -i "s@YNH_WWW_ALIAS@$final_path@g" $nginxconf
|
||||||
sudo cp $nginxconf /etc/nginx/conf.d/$domain.d/$app.conf
|
sudo cp $nginxconf /etc/nginx/conf.d/$domain.d/$app.conf
|
||||||
sudo chown root: $nginxconf
|
sudo chown root: $nginxconf
|
||||||
sudo chmod 644 $nginxconf
|
sudo chmod 644 $nginxconf
|
||||||
|
|
Loading…
Add table
Reference in a new issue