nginx快速复制软连接
This commit is contained in:
parent
16ffcccddf
commit
eb8e9c0b9a
6
shell/code/ng_ln.sh
Normal file
6
shell/code/ng_ln.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
for file in /etc/nginx/sites-available/*;do
|
||||||
|
base=$(basename "$file")
|
||||||
|
ln -s "$file" "/etc/nginx/sites-enabled"
|
||||||
|
done
|
Loading…
Reference in New Issue
Block a user