22 lines
357 B
HCL
22 lines
357 B
HCL
|
services {
|
||
|
name = "s1"
|
||
|
port = 8080
|
||
|
connect {
|
||
|
sidecar_service {
|
||
|
proxy {
|
||
|
upstreams = [
|
||
|
{
|
||
|
destination_name = "s2"
|
||
|
local_bind_port = 5000
|
||
|
config {
|
||
|
protocol = "http2"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
config {
|
||
|
protocol = "http2"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|