10 lines
243 B
Bash
10 lines
243 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if ![ -f /etc/nginx/sites-enabled/nextcloud_nginx.conf]
|
||
|
then
|
||
|
cp -v /root/default_configs/nextcloud_nginx.conf /etc/nginx/sites-available/
|
||
|
ln -sv /etc/nginx/sites-available/nextcloud_nginx.conf /etc/nginx/sites-enabled/
|
||
|
fi
|
||
|
|
||
|
|