Skip to content

About

a load balancer to run alongside heroku apps

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

Dyno Proxy

A lightweight load balancer to run in dynos alongside Heroku apps.

Add buildpack and rebuild app.

# Classic buildpack
$ heroku buildpacks:add https://github.com/heroku-examples/dyno-proxy/releases/latest/download/dyno-proxy-buildpack.tgz
# Cloud native buildpack (CNB) added in project.toml
[[io.buildpacks.group]]
uri = "docker://ghcr.io/heroku-examples/dyno-proxy-buildpack"

Configure routes in project.toml (both Classic and CNB buildpacks)

[[routes]]
path = "/anything"
to = "https://httpbin.org"

Any undefined routes will hit default app.

The proxy is active by default. To disable, heroku config:set DISABLE_DYNO_PROXY=true.

More info on

Contributions welcome!

About

a load balancer to run alongside heroku apps

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages