From f065fe9182c8c37edc0413d5e238d8376d1cec57 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 9 Feb 2017 12:42:06 +0000 Subject: [PATCH] Enable tls on matrix homeserver --- src/freedombone-app-matrix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index e0c27ce5..d17c26de 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -234,8 +234,8 @@ function matrix_configure_homeserver_yaml { mv ${ymltemp} "${filepath}" - sed -i 's|no_tls: .*|no_tls: true|g' "${filepath}" - sed -i 's| tls: .*| tls: false|g' "${filepath}" + sed -i 's|no_tls: .*|no_tls: False|g' "${filepath}" + sed -i 's| tls: .*| tls: True|g' "${filepath}" sed -i 's|enable_registration_captcha.*|enable_registration_captcha: False|g' "${filepath}" sed -i "s|database: \".*|database: \"${MATRIX_DATA_DIR}/homeserver.db\"|g" "${filepath}" sed -i "s|media_store_path:.*|media_store_path: \"${MATRIX_DATA_DIR}/media_store\"|g" "${filepath}"