修复ck填写错误,ck列表报错

This commit is contained in:
whyour
2021-03-24 19:43:11 +08:00
parent 64a8acde92
commit 3c579c10a6
3 changed files with 22 additions and 7 deletions
+6
View File
@@ -33,6 +33,12 @@ if [ ! -s ${JD_DIR}/config/auth.json ]; then
echo
fi
if [ -s /etc/nginx/conf.d/default.conf ]; then
echo -e "检测到默认nginx配置文件,删除...\n"
rm -f /etc/nginx/conf.d/default.conf
echo
fi
cp -fv ${JD_DIR}/docker/front.conf /etc/nginx/conf.d/front.conf
echo -e "======================2. 启动nginx========================\n"