From f4f345f1895a1d9c799e1257654265a180c512fe Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Thu, 10 Sep 2020 14:55:37 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=A4=87=E6=B3=A8=E4=BB=A5=E5=8F=8ATLS1.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 90426f4..85918c7 100644 --- a/install.sh +++ b/install.sh @@ -350,6 +350,7 @@ initNginxConfig(){ echoContent skyBlue "\n进度 $2/${totalProgress} : 配置Nginx" # echoContent green "配置Nginx" installType=$1 + # 这里的wss是Nginx前置用的,这里已经改为VLESS前置,所以不需要review代码 if [[ "${installType}" = "wss" ]] then cat << EOF > /etc/nginx/conf.d/alone.conf @@ -358,7 +359,7 @@ initNginxConfig(){ server_name ${domain}; root /usr/share/nginx/html; ssl_certificate /etc/v2ray-agent/tls/${domain}.crt;ssl_certificate_key /etc/v2ray-agent/tls/${domain}.key; - ssl_protocols TLSv1 TLSv1.1 TLSv1.2; + ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;ssl_prefer_server_ciphers on; location / {} location /alone {