Skip to content

Commit 5b10cd6

Browse files
committed
Update config.md
Added note to add ", chain=DOCKER-USER" to the fail2ban jail action if using docker networks By default, the jail action chain is "INPUT", but "FORWARD" is used when using docker networks. "DOCKER-USER", available when using docker, is part of the "FORWARD" chain. Hence the note to use "DOCKER-USER".
1 parent 72f36f8 commit 5b10cd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/config.md

+2
Original file line numberDiff line numberDiff line change
@@ -1242,6 +1242,8 @@ and [here](https://easyengine.io/tutorials/nginx/block-wp-login-php-bruteforce-a
12421242
maxretry = 10
12431243
```
12441244

1245+
!!! info If you run nginx in a container, append `, chain=DOCKER-USER` to the jail.local action.
1246+
12451247
## Health checks
12461248
A preliminary health check API endpoint is exposed at `/v1/health`. The endpoint returns a `json` response in the format shown below.
12471249
If a non-200 HTTP status code is returned or if the returned `healthy` field is `false` the ntfy service should be considered as unhealthy.

0 commit comments

Comments
 (0)