Enable tls on matrix homeserver
This commit is contained in:
parent
fbfa151ab9
commit
f065fe9182
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue