bugfix:Relative paths
This commit is contained in:
4
run.sh
4
run.sh
@ -2,7 +2,9 @@
|
||||
|
||||
rm -rf /etc/nginx/sites-available/* /etc/nginx/sites-enabled/*
|
||||
|
||||
cp -r /home/ubuntu/code/nginx-conf/sites-available/ /etc/nginx/
|
||||
cd /home/ubuntu/code/nginx-conf || return
|
||||
|
||||
cp -r ./sites-available/ /etc/nginx/
|
||||
|
||||
# shellcheck disable=SC2013
|
||||
for line in $(cat sites-enabled)
|
||||
|
Reference in New Issue
Block a user