Skip to content

Commit ea8315d

Browse files
authored
Update README.md
1 parent 9f3e142 commit ea8315d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

fail2ban/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Quick Start
22
## 1. Download docker-compose.yml, .env, fail and filter:
3-
3+
```bash
44
mkdir -p ./fail2ban/filter.d/
55
mkdir -p ./fail2ban/jail.d/
66

@@ -11,11 +11,13 @@ curl -o ./fail2ban/filter.d/nginx-req-limit.conf -L https://raw.githubuserconten
1111
curl -o ./fail2ban/filter.d/wp-login-fail.conf -L https://raw.githubusercontent.com/dinhngocdung/ee-container-stack/refs/heads/main/fail2ban/filter.d/wp-login-fail.conf
1212

1313
curl -o ./fail2ban/jail.d/jail.local -L https://raw.githubusercontent.com/dinhngocdung/ee-container-stack/refs/heads/main/fail2ban/jail.d/jail.local
14-
14+
```
1515
## 2. Add your sites logs
16+
```bash
1617
vi ./fail2ban/docker-compose.yml
17-
18+
```
1819
## 3. Run
20+
```bash
1921
cd ./fail2ban/ && \
2022
sudo docker compose up -d
21-
23+
```

0 commit comments

Comments
 (0)