Caddy: enable active health checks for LB
This commit is contained in:
parent
45b8d49968
commit
39886f45eb
@ -1,5 +1,10 @@
|
||||
{{ caddy.server_name }} {
|
||||
reverse_proxy {{ caddy.lb_targets | join(" ") }} {
|
||||
lb_policy cookie
|
||||
health_uri /
|
||||
health_port 80
|
||||
health_interval 5s
|
||||
health_timeout 2s
|
||||
health_status 2xx
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user