yunohost/data/hooks/restore/29-system_nginx

6 lines
130 B
Text

backup_dir="$1/nginx"
sudo cp -a $backup_dir/. /etc/nginx/conf.d
# Restart to use new conf and certs
sudo service nginx restart