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
2e56aaa024
commit
2d531893e4
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ nginxrootconf="../conf/nginx-root.conf"
|
|||
nginxconf="../conf/nginx.conf"
|
||||
if [ $path_url = "/" ]; then
|
||||
sed -i "s@YNH_WWW_ROOTPATH@@g" $nginxrootconf
|
||||
sed -i "s@YNH_WWW_ROOTAPP@/@g" $nginxrootconf
|
||||
sed -i "s@APP_URL@$domain$path_url@g" $nginxrootconf
|
||||
sudo chown root: $nginxrootconf
|
||||
sudo chmod 644 $nginxrootconf
|
||||
sudo cp $nginxrootconf /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue