mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Don't restore apps nginx conf in conf_nginx restore script (it's
done by apps)
This commit is contained in:
parent
ffc9bcaf33
commit
141937efdb
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
backup_dir="$1/conf/nginx"
|
||||
|
||||
sudo cp -a $backup_dir/. /etc/nginx/conf.d
|
||||
# Copy all conf except apps specific conf located in DOMAIN.d
|
||||
sudo find $backup_dir/ -mindepth 1 -maxdepth 1 -name '*.d' -or -exec sudo cp -a {} /etc/nginx/conf.d/ \;
|
||||
|
||||
# Restart to use new conf and certs
|
||||
sudo service nginx restart
|
||||
|
|
Loading…
Add table
Reference in a new issue