u
This commit is contained in:
@@ -20,8 +20,7 @@ username=$1
|
||||
domain=$2
|
||||
|
||||
cd /tmp/
|
||||
trash-put ${domain.conf}
|
||||
wget https://gt.op.fo/fro/srv-pub/raw/branch/trunk/cfg/ngx/${domain}.conf
|
||||
wget -O ${domain}.conf https://gt.op.fo/fro/srv-pub/raw/branch/trunk/cfg/ngx/${domain}.conf
|
||||
cp /tmp/${domain}.conf /etc/nginx/sites-available/.
|
||||
ln -s /etc/nginx/sites-available/${domain}.conf /etc/nginx/sites-enabled/
|
||||
chown ${username}:${username} /etc/nginx/sites-available/${domain}.conf
|
||||
|
||||
Reference in New Issue
Block a user