1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-22 17:52:30 +01:00

Merge pull request #1175 from Measurity/patch-1

Added note to add ", chain=DOCKER-USER" to the fail2ban jail action if using docker networks
This commit is contained in:
Philipp C. Heckel 2024-09-29 13:14:26 -04:00 committed by GitHub
commit 84f421a464
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1243,6 +1243,8 @@ and [here](https://easyengine.io/tutorials/nginx/block-wp-login-php-bruteforce-a
maxretry = 10
```
!!! info If you run nginx in a container, append `, chain=DOCKER-USER` to the jail.local action.
## Health checks
A preliminary health check API endpoint is exposed at `/v1/health`. The endpoint returns a `json` response in the format shown below.
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.