Commit graph

3 commits

Author SHA1 Message Date
Miek Gieben
558c34a23e middleware/proxy: healthchecks fixes (#183)
* middleware/proxy: add spray keyword

When spray is used, the proxy will, when all backend are down, spray to
each target. When not used, default to the old defaults: max 1 failure
and no spray. These defaults are also used when forwarding queries to
another CoreDNS instance.

Update the README with the new keyword.

* typos

* Make MaxFail = 1 again

* more reversals
2016-07-04 21:13:28 +01:00
Miek Gieben
2fe42067fa Spray to backend hosts when all are unhealthy (#171)
When all backend hosts are unhealthy, randomly select one and use
that as a target.

This is to preempt the health checking itself failing.
2016-06-14 18:04:29 +01:00
Miek Gieben
3ec0d9fe6b First commit 2016-03-18 20:57:35 +00:00