From 9d226ab23b4229bed9f425cd1b68887dceb20fe2 Mon Sep 17 00:00:00 2001 From: aoshiguchen <1052045476@qq.com> Date: Sat, 9 Nov 2024 14:30:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- neutrino-proxy-server/src/main/resources/app-copy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/neutrino-proxy-server/src/main/resources/app-copy.yml b/neutrino-proxy-server/src/main/resources/app-copy.yml index e0fee879..d01b8e39 100644 --- a/neutrino-proxy-server/src/main/resources/app-copy.yml +++ b/neutrino-proxy-server/src/main/resources/app-copy.yml @@ -1,6 +1,6 @@ server: # 服务端web端口,用于支持HTTP接口,管理后台页面访问 - port: 8888 + port: ${WEB_PORT:8888} # 日志级别 solon.logging: logger: @@ -18,9 +18,9 @@ neutrino: boss-thread-count: 2 work-thread-count: 10 # 隧道非SSL端口 - port: 9000 + port: ${OPEN_PORT:9000} # 隧道SSL端口 - ssl-port: 9002 + ssl-port: ${SSL_PORT:9002} # 隧道SSL证书配置 key-store-password: 123456 key-manager-password: 123456 @@ -35,9 +35,9 @@ neutrino: boss-thread-count: 5 work-thread-count: 20 # http代理端口,默认80(不配置不支持) - http-proxy-port: 80 + http-proxy-port: ${HTTP_PROXY_PORT:80} # https代理端口,默认443 (不配置不支持,同时需要配置域名、证书) - https-proxy-port: 443 + https-proxy-port: ${HTTPS_PROXY_PORT:443} # 是否开启代理服务报文日志(日志级别为debug时开启才有效) transfer-log-enable: false udp: