From fa936c6da3777ca04d89e304a45f04451f5ba217 Mon Sep 17 00:00:00 2001 From: wulabing Date: Sat, 15 Feb 2020 16:21:10 +0800 Subject: [PATCH] =?UTF-8?q?1.1.0=20=E6=B7=BB=E5=8A=A0ws=E9=A6=96=E6=AC=A1?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E6=97=B6tls=E7=89=88=E6=9C=AC=E9=80=89?= =?UTF-8?q?=E6=8B=A9=EF=BC=8C=E5=B9=B6=E5=90=AF=E7=94=A8=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 8ee86e8..1562556 100644 --- a/install.sh +++ b/install.sh @@ -26,7 +26,7 @@ OK="${Green}[OK]${Font}" Error="${Red}[错误]${Font}" # 版本 -shell_version="1.0.8" +shell_version="1.1.0" shell_mode="None" version_cmp="/tmp/version_cmp.tmp" v2ray_conf_dir="/etc/v2ray" @@ -683,8 +683,9 @@ judge "Nginx systemd ServerFile 添加" tls_type(){ if [[ -f "/etc/nginx/sbin/nginx" ]] && [[ -f "$nginx_conf" ]] && [[ "$shell_mode" == "ws" ]];then echo "请选择支持的 TLS 版本(default:3):" - echo "1: TLS1.1 TLS1.2 and TLS1.3" - echo "2: TLS1.2 and TLS1.3" + echo "请注意,如果你使用 Quantaumlt X / 路由器 / 旧版 Shadowrocket / 低于 4.18.1 版本的 V2ray core 请选择 兼容模式" + echo "1: TLS1.1 TLS1.2 and TLS1.3(兼容模式)" + echo "2: TLS1.2 and TLS1.3 (兼容模式)" echo "3: TLS1.3 only" read -p "请输入:" tls_version [[ -z ${tls_version} ]] && tls_version=3 @@ -772,6 +773,7 @@ install_v2ray_ws_tls(){ v2ray_conf_add_tls nginx_conf_add web_camouflage + tls_type ssl_judge_and_install nginx_systemd vmess_qr_config_tls_ws