This commit is contained in:
Julien Salleyron 2017-02-06 23:08:26 +01:00 committed by Emile Vauge
parent aa2edcc6e5
commit 14fd53c915
No known key found for this signature in database
GPG key ID: D808B4C167352E59

View file

@ -239,6 +239,20 @@ For example:
[backends.backend1.loadbalancer]
sticky = true
```
Healthcheck URL can be configured with a relative URL for `healthcheck.URL`.
Interval between healthcheck can be configured by using `healthcheck.interval`
(default: 30s)
For example:
```toml
[backends]
[backends.backend1]
[backends.backend1.healthcheck]
URL = "/health"
interval = "10s"
```
## Servers
Servers are simply defined using a `URL`. You can also apply a custom `weight` to each server (this will be used by load-balancing).