Skip to content

Instantly share code, notes, and snippets.

@dex4er
Created May 17, 2014 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dex4er/b60947e7e82d0d86ca9c to your computer and use it in GitHub Desktop.
Save dex4er/b60947e7e82d0d86ca9c to your computer and use it in GitHub Desktop.
#!/usr/bin/env starlight
use AnyEvent::DNS::EtcHosts;
use Plack::Builder;
use Plack::App::Proxy;
builder {
enable 'AccessLog';
enable 'Proxy::Connect';
enable 'Proxy::Requests';
Plack::App::Proxy->new->to_app;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment