1Plack::Middleware::ReveUrsseerPrCooxnyt(r3i)buted Perl DPolcaucmke:n:tMaitdidolneware::ReverseProxy(3)
2
3
4
6 Plack::Middleware::ReverseProxy - Supports app to run as a reverse
7 proxy backend
8
10 builder {
11 enable_if { $_[0]->{REMOTE_ADDR} eq '127.0.0.1' }
12 "Plack::Middleware::ReverseProxy";
13 $app;
14 };
15
17 Plack::Middleware::ReverseProxy resets some HTTP headers, which changed
18 by reverse-proxy. You can specify the reverse proxy address and stop
19 fake requests using 'enable_if' directive in your app.psgi.
20
22 This software is licensed under the same terms as Perl itself.
23
25 This module is originally written by Kazuhiro Osawa as
26 HTTP::Engine::Middleware::ReverseProxy for HTTP::Engine.
27
28 Nobuo Danjou
29
30 Masahiro Nagano
31
32 Tatsuhiko Miyagawa
33
35 HTTP::Engine::Middleware::ReverseProxy
36
37 Plack
38
39 Plack::Middleware
40
41 Plack::Middleware::Conditional
42
43
44
45perl v5.12.3 2011-08-25Plack::Middleware::ReverseProxy(3)