ソースを参照

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