2
0
mirror of https://github.com/status-im/consul.git synced 2025-01-19 10:15:06 +00:00

28 lines
608 B
HCL
Raw Normal View History

# Example proxy config with everything specified
token = "11111111-2222-3333-4444-555555555555"
2018-05-19 00:11:51 -07:00
proxied_service_name = "web"
proxied_service_namespace = "default"
public_listener {
2018-04-25 14:53:30 +01: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"
}
]