Prevent unsupported TLS 1.3 on xenial by default

nginx don't support it on the default package.
This commit is contained in:
Luis Guzmán 2020-08-11 02:23:40 -05:00
parent 3ce3587527
commit 26fa649980
1 changed files with 2 additions and 2 deletions

View File

@ -810,7 +810,7 @@ if [ "$DROP_TLS1" = "yes" ] && [ "$DIST" != "xenial" ];then
elif [ "$DROP_TLS1" = "yes" ] && [ "$DIST" = "xenial" ];then
echo "Only dropping TLSv1/1.1"
sed -i "s|TLSv1 TLSv1.1||" /etc/nginx/nginx.conf
#sed -i "s|TLSv1 TLSv1.1||" $WS_CONF
sed -i "s| TLSv1.3||" $WS_CONF
else
echo "No TLSv1/1.1 dropping was done. Please report to
https://github.com/switnet-ltd/quick-jibri-installer/issues "