mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
清空默认nginx配置文件
This commit is contained in:
1 parent
43e02905c8
commit
2a9751e051
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user