mirror of https://github.com/hashicorp/consul
27 lines
400 B
HCL
27 lines
400 B
HCL
|
config_entries {
|
||
|
bootstrap = [
|
||
|
{
|
||
|
kind = "proxy-defaults"
|
||
|
name = "global"
|
||
|
|
||
|
config {
|
||
|
protocol = "http"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
kind = "exported-services"
|
||
|
name = "default"
|
||
|
services = [
|
||
|
{
|
||
|
name = "s2"
|
||
|
consumers = [
|
||
|
{
|
||
|
peer_name = "alpha-to-primary"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|