Skip to content
A dynamic http proxy on top of Vert.x
Branch: initial-work
Clone or download
Latest commit 82348dc May 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Update to 3.7.1 May 23, 2019
.gitignore Initial commit May 15, 2016
LICENSE-eplv10-aslv20.html Update with license Dec 23, 2016
README.md Update README.md Feb 23, 2017
dependency-reduced-pom.xml Bug fixes Nov 19, 2016
pom.xml Update to 3.7.1 May 23, 2019

README.md

Vert.x Http Proxy

A HTTP reverse proxy based on Vert.x, it aims to implement the reverse proxy logic and be reusable, so one does not need to care about the proxy logic and can focus rather on higher concerns.

License

Eclipse Public License - Version 1.0 / Apache License - Version 2.0

Usage

package and then run the fatjar :

> mvn package
> java -jar target/vertx-reverse-proxy-3.3.0-SNAPSHOT.jar

Docker containers are discovered using docker labels, for example:

docker run --rm -p 8082:8080 -l service.type=http.endpoint -l service.route=/hello ehazlett/docker-demo

Then backend server will be accessible on the proxy server under the /hello route.

Behavior notes

The client posts a body and the backend closes the connection before upload is complete. The client gets a 502 response and its connection is closed.

The client posts a body and the backend receives parts of the body then the client closes the connectino before the upload is complete. The backend gets its connection closed.

You can’t perform that action at this time.