borderpatrol/borderpatrol.conf

28 lines
576 B
Plaintext

{
"services": [
{
"name": "foo",
"friendlyName": "Super Duper Foo"
"rewriteRule":"/foo=>/"
"hosts":"localhost:8081,localhost:8082"
},
{
"name": "bar",
"friendlyName": "Super Duper Bar"
"rewriteRule":"/bar=>/"
"hosts":"localhost:8083"
}
{
"name": "baz",
"friendlyName": "Just OK Baz"
"rewriteRule":"/baz=>/"
"hosts":"localhost:8084"
}
{
"name": "consul",
"friendlyName": "Consul Service"
"rewriteRule":"/consul=>/"
"hosts":"localhost:8500"
}
]
}