From 44fa364cdd40aea874fce3d09435b00efc4dd1b7 Mon Sep 17 00:00:00 2001 From: Julien Salleyron Date: Mon, 6 Feb 2017 23:08:26 +0100 Subject: [PATCH] Add doc --- docs/basics.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/basics.md b/docs/basics.md index 79042790e..58a74ee51 100644 --- a/docs/basics.md +++ b/docs/basics.md @@ -235,6 +235,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).