Permalink
Browse files

enable reverseproxy

  • Loading branch information...
1 parent 09bf7c6 commit c9f78899a3a18d931cecdd2b27560c300d2e0e16 @miyagawa committed Mar 8, 2013
Showing with 3 additions and 0 deletions.
  1. +1 −0 app-gw.psgi
  2. +2 −0 cpanfile
View
@@ -15,6 +15,7 @@ my $head = sub {
builder {
enable $head;
+ enable 'ReverseProxy';
mount 'http://sunaba.plackperl.org/' => sub {
return [ 404, ['Content-Type', 'text/plain'], ['Not Found'] ];
};
View
@@ -2,3 +2,5 @@ requires 'Tatsumaki';
requires 'AnyEvent';
requires 'AnyEvent::HTTP';
requires 'IO::Uncompress::Gunzip';
+requires 'Plack';
+requires 'Plack::Middleware::ReverseProxy';

0 comments on commit c9f7889

Please sign in to comment.