From 0f399fab18f07eb8ab598093105afdd82cba9f2f Mon Sep 17 00:00:00 2001 From: Ark74 Date: Fri, 7 Aug 2020 18:10:52 -0500 Subject: [PATCH] Tune tls unsecure dropping --- quick_jibri_installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index 207b7d8..0c679fb 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -790,11 +790,11 @@ if [ "$ENABLE_SA" = "yes" ] && [ -f $WS_CONF ]; then sed -i "/RANDOM_AVATAR_URL_SUFFIX/ s|false|\'.png\'|" $INT_CONF fi #nginx -tlsv1/1.1 -if [ "$DROP_TLS1" = "yes" ] && [ "$DIST" = "bionic" ];then +if [ "$DROP_TLS1" = "yes" ] && [ ! "$DIST" = "xenial" ];then echo "Dropping TLSv1/1.1 in favor of v1.3" sed -i "s|TLSv1 TLSv1.1|TLSv1.3|" /etc/nginx/nginx.conf #sed -i "s|TLSv1 TLSv1.1|TLSv1.3|" $WS_CONF -elif [ "$DROP_TLS1" = "yes" ] && [ ! "$DIST" = "bionic" ];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