mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
7 lines
259 B
Text
7 lines
259 B
Text
backup_dir="$1/conf/nginx"
|
|
|
|
# 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
|