utility for lhridder/infrared
apiBind: :5000
redis:
host: localhost
pass:
db: 0
GET /
will return 200(OK)
GET /proxies
will return
[
"config",
"config2"
]
GET /proxies/{name}
will return
{
"domainNames": ["play.example.org"],
"proxyTo": "backend.example.org:25566"
}
POST /proxies/{name}
with body
{
"domainNames": ["play.example.org"],
"proxyTo": "backend.example.org:25566"
}
will return 200(ok)
DELETE /proxies/{name}
will return 200(OK)