浏览代码

Enable tls on matrix homeserver

Bob Mottram 8 年前
父节点
当前提交
f065fe9182
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/freedombone-app-matrix

+ 2
- 2
src/freedombone-app-matrix 查看文件

234
 
234
 
235
     mv ${ymltemp} "${filepath}"
235
     mv ${ymltemp} "${filepath}"
236
 
236
 
237
-    sed -i 's|no_tls: .*|no_tls: true|g' "${filepath}"
238
-    sed -i 's| tls: .*| tls: false|g' "${filepath}"
237
+    sed -i 's|no_tls: .*|no_tls: False|g' "${filepath}"
238
+    sed -i 's| tls: .*| tls: True|g' "${filepath}"
239
     sed -i 's|enable_registration_captcha.*|enable_registration_captcha: False|g' "${filepath}"
239
     sed -i 's|enable_registration_captcha.*|enable_registration_captcha: False|g' "${filepath}"
240
     sed -i "s|database: \".*|database: \"${MATRIX_DATA_DIR}/homeserver.db\"|g" "${filepath}"
240
     sed -i "s|database: \".*|database: \"${MATRIX_DATA_DIR}/homeserver.db\"|g" "${filepath}"
241
     sed -i "s|media_store_path:.*|media_store_path: \"${MATRIX_DATA_DIR}/media_store\"|g" "${filepath}"
241
     sed -i "s|media_store_path:.*|media_store_path: \"${MATRIX_DATA_DIR}/media_store\"|g" "${filepath}"