HUB
Sign inSign up

tbinhluong/reverseproxy

By tbinhluong

•Updated about 7 years ago

A simple reverse proxy in Go

Image
1

1.3K

tbinhluong/reverseproxy repository overview

⁠ reverseproxy

A simple HTTP reverse proxy and load balancer that in written in Golang.

Go Report Card ⁠ latest version ⁠ Apache-2.0 License ⁠ Microbadger ⁠ Pulls from DockerHub ⁠

⁠Features

  • Listens to HTTP requests and forward them to downstream services
  • Supports 2 load balancing algorithms: randomly and round-robin
  • Provides endpoint /healthz for health check
  • Provides endpoint /metrics to indicate the availability SLI of the reverse proxy
  • Packaged as a single binary file (made with with go) and available as a docker image⁠
  • Packaged as a helm chart⁠

⁠Getting Started

./reverseproxy --config.file=config.yml
docker run -d -p 8080:8080  -v $PWD/config.yml:/reverseproxy/config.yml tbinhluong/reverseproxy
  • Or use the helm chart
helm repo add myrepo https://tbinhluong.github.io/
helm install myrepo/reverseproxy-helm --name=reverseproxy
  • Or get the sources:
git clone https://github.com/tbinhluong/reverseproxy

⁠Maintainers

Binh Luong⁠

Tag summary

Content type

Image

Digest

Size

5.7 MB

Last updated

about 7 years ago

docker pull tbinhluong/reverseproxy