consul/connect/proxy/testdata/config-kitchensink.hcl

28 lines
608 B
HCL
Raw Normal View History

# Example proxy config with everything specified
token = "11111111-2222-3333-4444-555555555555"
2018-05-19 07:11:51 +00:00
proxied_service_name = "web"
proxied_service_namespace = "default"
public_listener {
2018-04-25 13:53:30 +00:00
bind_address = "127.0.0.1"
bind_port= "9999"
local_service_address = "127.0.0.1:5000"
}
upstreams = [
{
local_bind_address = "127.0.0.1:6000"
destination_name = "db"
destination_namespace = "default"
destination_type = "service"
},
{
local_bind_address = "127.0.0.1:6001"
destination_name = "geo-cache"
destination_namespace = "default"
destination_type = "prepared_query"
}
]