容器增加 ipv6 检测,自动配置 nginx

This commit is contained in:
whyour
2023-03-14 22:39:10 +08:00
parent 3fa57c69ac
commit 819b15b15e
4 changed files with 17 additions and 7 deletions
+1 -3
View File
@@ -25,9 +25,7 @@ copy_dep() {
echo -e "---> 通知文件复制完成\n"
echo -e "---> 2. 复制nginx配置文件\n"
cp -fv $nginx_conf /etc/nginx/nginx.conf
cp -fv $nginx_app_conf /etc/nginx/conf.d/front.conf
sed -i "s,QL_BASE_URL,${qlBaseUrl},g" /etc/nginx/conf.d/front.conf
init_nginx
echo -e "---> 配置文件复制完成\n"
}