From 8e2385088acfa9b89a69ee12bfd7165cf302e6d9 Mon Sep 17 00:00:00 2001 From: KtKID <649693008@qq.com> Date: Wed, 16 Aug 2023 20:53:57 +0800 Subject: [PATCH] =?UTF-8?q?token=E5=AE=9A=E4=B9=89=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build_run.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build_run.sh b/build_run.sh index 0ae39bc..462ffe3 100755 --- a/build_run.sh +++ b/build_run.sh @@ -14,6 +14,8 @@ else SSL_PORT_START=10000 #start-end受限于nginx最大连接数量 SSL_PORT_END=10010 V2RAY_PORT=54321 + TOKEN="0000000-0000-0000-000-000000" + WS_PATH="/xxx" port_flags="" for((i=$SSL_PORT_START; i<$SSL_PORT_END; i++)) @@ -29,10 +31,10 @@ else -p ${V2RAY_PORT}:${V2RAY_PORT} \ -v "/etc/letsencrypt/archive/${SITE_DOMAIN}":/data/cert/${SITE_DOMAIN} \ -e SITE_DOMAIN="${SITE_DOMAIN}" \ - -e V2RAY_TOKEN="0000000-0000-0000-000-000000" \ + -e V2RAY_TOKEN=${TOKEN} \ -e V2RAY_PORT=${V2RAY_PORT} \ -e SSL_PORT_START=${SSL_PORT_START} \ -e SSL_PORT_END=${SSL_PORT_END} \ - -e V2RAY_WS_PATH=/xxx \ + -e V2RAY_WS_PATH=${WS_PATH} \ docker-nginx-v2ray fi \ No newline at end of file