forked from leedo/Plack-App-Proxy
-
Notifications
You must be signed in to change notification settings - Fork 1
miyagawa/Plack-App-Proxy
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
NAME Plack::App::Proxy - proxy requests SYNOPSIS use Plack::Builder; builder { # proxy all requests to 127.0.0.1:80 mount "/static" => Plack::App::Proxy->new(host => "http://127.0.0.1:80")->to_app; # use some logic to decide which host to proxy to mount "/host" => Plack::App::Proxy->new(host => sub { my $env = shift; ... return $host; })->to_app; # use some logic to decide what url to proxy mount "/url" => Plack::App::Proxy->new(url => sub { my $env => shift; ... return $url; })->to_app; }; DESCRIPTION Plack::App::Proxy AUTHOR Lee Aylward LICENSE This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO Plack::Builder
About
a streaming capable proxy for Plack
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Perl 100.0%