mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
Fix proxy middleware health_check doc (#590)
According to the code, the default health check interval is 30 seconds, not 10 as stated in the documentation. (The alternative would be to adjust the interval in the code.)
This commit is contained in:
committed by
Miek Gieben
parent
bfaf9e0aec
commit
5b32a07ae6
@@ -43,7 +43,7 @@ proxy FROM TO... {
|
||||
* `health_check` will check path (on port) on each backend. If a backend returns a status code of
|
||||
200-399, then that backend is healthy. If it doesn't, the backend is marked as unhealthy for
|
||||
duration and no requests are routed to it. If this option is not provided then health checks are
|
||||
disabled. The default duration is 10 seconds ("10s").
|
||||
disabled. The default duration is 30 seconds ("30s").
|
||||
* **IGNORED_NAMES** in `except` is a space-separated list of domains to exclude from proxying.
|
||||
Requests that match none of these names will be passed through.
|
||||
* `spray` when all backends are unhealthy, randomly pick one to send the traffic to. (This is
|
||||
|
||||
Reference in New Issue
Block a user