Rest API to control an haproxy instance.
curl -d localhost:9999 -d '{
"TcpBackends":["127.0.0.1:9000","127.0.0.1:9001"],
"HttpBackends":["127.0.0.1:9000","127.0.0.1:9001"]
}'
curl -d localhost:9999
'{
"TcpBackends":["127.0.0.1:9000","127.0.0.1:9001"],
"HttpBackends":["127.0.0.1:9000","127.0.0.1:9001"]
}'
$ curl localhost:10001
"I am the backend at 9000"
$ curl localhost:10001
"I am the backend at 9001"
$ curl localhost:10002
"I am the backend at 9000"
$ curl localhost:10002
"I am the backend at 9001"
Content type
Image
Digest
sha256:b952fb62f…
Size
72.7 MB
Last updated
almost 11 years ago
docker pull guillermo/gaproxy:0.1