bach 3 年之前
父节点
当前提交
13f531d7b4
共有 1 个文件被更改,包括 18 次插入0 次删除
  1. 18 0
      readme.md

+ 18 - 0
readme.md

@@ -1,6 +1,13 @@
 # Installing editoria on debian 10 for production
 
 needs min 2Gb of memory and 150Gb of storage
+<!-- 
+## firewall
+```sh
+echo '
+DOCKER_OPTS="--iptables=false
+' >
+``` -->
 
 ## Docker
 ```
@@ -341,3 +348,14 @@ ln -s /etc/nginx/sites-available/your.domain.ltd.conf /etc/nginx/sites-enabled/
 
 systemctl restart nginx
 ```
+
+## firewall
+
+```sh
+apt-get --yes install ufw
+ufw allow ssh
+ufw allow http
+ufw allow https
+ufw allow from 172.18.0.1/16
+ufw allow 9000
+```