vhosts 0.0.0

Forward traffic to multiple vhosts

Released 2016-01-20.

To install, run:

haxelib install vhosts 0.0.0

See using Haxelib in Haxelib documentation for more information.

Maintainerback2dos
Websitehttp://github.com/back2dos/vhosts
Current version0.0.0
StatisticsInstalled 6 times
LicenseMIT
Tags http, proxy, vhosts

README.md

vhosts

Simple server to forward traffic to multiple vhosts. Possibly suitable as a proxy.

Sample usage under nodejs:

new tink.http.Container.NodeContainer(80).run(new vhosts.Proxy(
  [
    'example.com' => 2000,
    'bar.fr' => 3000,
  ]
, function (e) {
  trace('error: $e');
}));