forked from switnet/quick-jibri-installer
Prevent unsupported TLS 1.3 on xenial by default
nginx don't support it on the default package.
This commit is contained in:
parent
3ce3587527
commit
26fa649980
|
@ -810,7 +810,7 @@ if [ "$DROP_TLS1" = "yes" ] && [ "$DIST" != "xenial" ];then
|
||||||
elif [ "$DROP_TLS1" = "yes" ] && [ "$DIST" = "xenial" ];then
|
elif [ "$DROP_TLS1" = "yes" ] && [ "$DIST" = "xenial" ];then
|
||||||
echo "Only dropping TLSv1/1.1"
|
echo "Only dropping TLSv1/1.1"
|
||||||
sed -i "s|TLSv1 TLSv1.1||" /etc/nginx/nginx.conf
|
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
|
else
|
||||||
echo "No TLSv1/1.1 dropping was done. Please report to
|
echo "No TLSv1/1.1 dropping was done. Please report to
|
||||||
https://github.com/switnet-ltd/quick-jibri-installer/issues "
|
https://github.com/switnet-ltd/quick-jibri-installer/issues "
|
||||||
|
|
Loading…
Reference in New Issue