瀏覽代碼

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,8 +234,8 @@ function matrix_configure_homeserver_yaml {
234 234
 
235 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 239
     sed -i 's|enable_registration_captcha.*|enable_registration_captcha: False|g' "${filepath}"
240 240
     sed -i "s|database: \".*|database: \"${MATRIX_DATA_DIR}/homeserver.db\"|g" "${filepath}"
241 241
     sed -i "s|media_store_path:.*|media_store_path: \"${MATRIX_DATA_DIR}/media_store\"|g" "${filepath}"