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 Copyright 2009-2019 Tatsuhiko Miyagawa
26
28 This module is originally written by Kazuhiro Osawa as
29 HTTP::Engine::Middleware::ReverseProxy for HTTP::Engine.
30
31 Nobuo Danjou
32
33 Masahiro Nagano
34
35 Tatsuhiko Miyagawa
36
38 HTTP::Engine::Middleware::ReverseProxy
39
40 Plack
41
42 Plack::Middleware
43
44 Plack::Middleware::Conditional
45
46
47
48perl v5.34.0 2022-01-21Plack::Middleware::ReverseProxy(3)