mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 14:56:07 +08:00
清空默认nginx配置文件
This commit is contained in:
parent
43e02905c8
commit
2a9751e051
|
@ -195,8 +195,8 @@ fix_config() {
|
|||
fi
|
||||
|
||||
if [ -s /etc/nginx/conf.d/default.conf ]; then
|
||||
echo -e "检测到默认nginx配置文件,删除...\n"
|
||||
rm -f /etc/nginx/conf.d/default.conf
|
||||
echo -e "检测到默认nginx配置文件,清空...\n"
|
||||
echo '' > /etc/nginx/conf.d/default.conf
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user