From 80cb47b9225c1bfbe0ab072cb1a7acb594cabe2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B0=8F=E4=BA=91?= Date: Thu, 5 Jun 2025 17:40:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginxbazhong/vhosts/upstream.conf | 5 +---- start/nginx.sh | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/nginxbazhong/vhosts/upstream.conf b/nginxbazhong/vhosts/upstream.conf index 970679f..20d8910 100644 --- a/nginxbazhong/vhosts/upstream.conf +++ b/nginxbazhong/vhosts/upstream.conf @@ -1,6 +1,3 @@ upstream gatewayService { server ${GATEWAY_NAME}:7011; -} - - - +} \ No newline at end of file diff --git a/start/nginx.sh b/start/nginx.sh index 73c39c0..148b785 100755 --- a/start/nginx.sh +++ b/start/nginx.sh @@ -31,6 +31,8 @@ if [ ! -z "${PEM_PATH}" ] && [ ! -z "${KEY_PATH}" ]; then --volume ${PEM_PATH}:/etc/nginx/t-aaron.com.pem \ --volume ${KEY_PATH}:/etc/nginx/t-aaron.com.key" fi +echo "镜像名字------" +echo ${NGINX_IMAGE} # 添加镜像名称并运行容器 DOCKER_RUN_CMD="${DOCKER_RUN_CMD} ${NGINX_IMAGE}"