feat(脚本): 添加备注以及TLS1.3

pull/534/merge
mack-a 2020-09-10 14:55:37 +08:00
parent aff179d0bd
commit f4f345f189
1 changed files with 2 additions and 1 deletions

View File

@ -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 {