浏览代码

Re-enable matrix firewall

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

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

@@ -509,7 +509,7 @@ function restore_remote_matrix {
509 509
 }
510 510
 
511 511
 function remove_matrix {
512
-    #firewall_remove ${MATRIX_HTTP_PORT}
512
+    firewall_remove ${MATRIX_HTTP_PORT}
513 513
 
514 514
     nginx_dissite $MATRIX_DOMAIN_NAME
515 515
     remove_certs $MATRIX_DOMAIN_NAME
@@ -728,7 +728,7 @@ function install_home_server {
728 728
         fi
729 729
     fi
730 730
 
731
-    #firewall_add matrix ${MATRIX_HTTP_PORT}
731
+    firewall_add matrix ${MATRIX_HTTP_PORT}
732 732
 
733 733
     rm -rf ${MATRIX_DATA_DIR}/Maildir
734 734
     rm -rf ${MATRIX_DATA_DIR}/.mutt