mirror of https://github.com/status-im/consul.git
21 lines
330 B
HCL
21 lines
330 B
HCL
|
services {
|
||
|
name = "s1"
|
||
|
port = 8080
|
||
|
connect {
|
||
|
sidecar_service {
|
||
|
proxy {
|
||
|
upstreams = [
|
||
|
{
|
||
|
destination_name = "l1"
|
||
|
local_bind_port = 1234
|
||
|
},
|
||
|
{
|
||
|
destination_name = "l2"
|
||
|
local_bind_port = 5678
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|