1
0
Fork 0
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:
frju365 2017-03-03 11:57:52 +01:00 committed by GitHub
parent 461b90edf3
commit 88851c2754

View file

@ -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