Sign inSign up

ldclakmal/ballerina-http-passthrough

By ldclakmal

•Updated over 6 years ago

Ballerina HTTP Passthrough (Proxy) Service

Image
0

1.2K

ldclakmal/ballerina-http-passthrough repository overview

⁠Ballerina HTTP Passthrough (Proxy) Service

A Docker image of Ballerina passthrough service which forward the request to configured backend and forward the response to the client. Supports only HTTP/1.1 and any type of request payload such as text, json, xml etc.

⁠Installed
  1. Ubuntu 16.04
  2. Ballerina 1.2.0
⁠Run the image
$  docker run -d --network="host" -p 9090:9090 ldclakmal/ballerina-http-passthrough:latest

⁠Test the image
$ curl -v http://localhost:9090/passthrough -d "Hello Ballerina

(Since this is a proxy, there should be a backend HTTP service already started on port 9191 with request path /hello/sayHello. i.e. $ curl -v http://localhost:9191/hello/sayHello should be up and running)

Tag summary

Content type

Image

Digest

Size

166.1 MB

Last updated

over 6 years ago

docker pull ldclakmal/ballerina-http-passthrough