Commit e3b7beab authored by John Belamaric's avatar John Belamaric Committed by GitHub

Fix health_checks which should be health_check (#1556)

parent 83b5eadb
...@@ -46,7 +46,7 @@ forward FROM TO... { ...@@ -46,7 +46,7 @@ forward FROM TO... {
tls CERT KEY CA tls CERT KEY CA
tls_servername NAME tls_servername NAME
policy random|round_robin policy random|round_robin
health_checks DURATION health_check DURATION
} }
~~~ ~~~
...@@ -63,7 +63,7 @@ forward FROM TO... { ...@@ -63,7 +63,7 @@ forward FROM TO... {
* `tls_servername` **NAME** allows you to set a server name in the TLS configuration; for instance 9.9.9.9 * `tls_servername` **NAME** allows you to set a server name in the TLS configuration; for instance 9.9.9.9
needs this to be set to `dns.quad9.net`. needs this to be set to `dns.quad9.net`.
* `policy` specifies the policy to use for selecting upstream servers. The default is `random`. * `policy` specifies the policy to use for selecting upstream servers. The default is `random`.
* `health_checks`, use a different **DURATION** for health checking, the default duration is 0.5s. * `health_check`, use a different **DURATION** for health checking, the default duration is 0.5s.
Also note the TLS config is "global" for the whole forwarding proxy if you need a different Also note the TLS config is "global" for the whole forwarding proxy if you need a different
`tls-name` for different upstreams you're out of luck. `tls-name` for different upstreams you're out of luck.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment