firewall
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user