mirror of
https://github.com/YunoHost-Apps/agendav_ynh.git
synced 2024-09-03 20:36:12 +02:00
Update upgrade
This commit is contained in:
parent
eb02d3e047
commit
cd3d849d70
1 changed files with 4 additions and 1 deletions
|
@ -61,7 +61,10 @@ sudo find $final_path -type d | xargs sudo chmod 755
|
|||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
sed -i "s@YNH_WWW_PATH@$path@g" ../conf/nginx.conf
|
||||
sed -i "s@YNH_ALIAS@$final_path/web/public@g" ../conf/nginx.conf
|
||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/agendav.conf
|
||||
nginxconf=/etc/nginx/conf.d/$domain.d/agendav.conf
|
||||
sudo cp ../conf/nginx.conf $nginxconf
|
||||
sudo chown root: $nginxconf
|
||||
sudo chmod 600 $nginxconf
|
||||
|
||||
# Reload Nginx and regenerate SSOwat conf
|
||||
sudo service nginx reload
|
||||
|
|
Loading…
Add table
Reference in a new issue