# The local load balancer: round robin over both boxes, /readyz checked every 2 s,
# a failed request retried on the other box for up to 5 s. WebSockets pass through.
:80 {
	reverse_proxy api-a:4000 api-b:4000 {
		lb_policy round_robin
		lb_try_duration 5s
		lb_try_interval 250ms
		health_uri /readyz
		health_interval 2s
		health_timeout 2s
		fail_duration 10s
	}
}
