修正 tls_modify 显示错误

pull/355/head
wulabing 2019-11-27 16:21:20 +08:00
parent 7fa4ef96b7
commit fdac5d5138
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ tls_type(){
echo -e "${OK} ${GreenBG} 已切换至 TLS1.1 TLS1.2 and TLS1.3 ${Font}"
else
sed -i 's/ssl_protocols.*/ssl_protocols TLSv1.2 TLSv1.3;/' $nginx_conf
echo -e "${OK} ${GreenBG} 已切换至TLS1.2 and TLS1.3 ${Font}"
echo -e "${OK} ${GreenBG} 已切换至 TLS1.2 and TLS1.3 ${Font}"
fi
systemctl restart nginx
judge "Nginx 重启"