Enable tls on matrix homeserver

This commit is contained in:
Bob Mottram 2017-02-09 12:42:06 +00:00
parent fbfa151ab9
commit f065fe9182
1 changed files with 2 additions and 2 deletions

View File

@ -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}"