Skip to content
Simple Erlang TCP proxy using ranch acceptor pool
Erlang
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
rebar.config

README.md

ranch_proxy

Simple TCP routing proxy based on @benoitc's cowboy_proxy. This one uses ranch 0.6.1 underneath.

Expect more stuff soon, for now it's just a quick outline.

Example usage:

application:start(ranch).
ranch_proxy:serve(100, ranch_tcp, [{port, 5555}], [{proxy, {example_module, proxy_function}}]).

See also:

* [cowboy_revproxy](https://github.com/benoitc/cowboy_revproxy)
* [ranch](https://github.com/extend/ranch)
You can’t perform that action at this time.