consul/test/integration/connect/envoy/case-http/service_s1.hcl

28 lines
509 B
HCL
Raw Normal View History

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
services {
name = "s1"
port = 8080
connect {
sidecar_service {
proxy {
upstreams = [
{
destination_name = "s2"
local_bind_port = 5000
config {
protocol = "http"
passive_health_check {
interval = "22s"
}
}
}
]
config {
protocol = "http"
}
}
}
}
}