File: README

package info (click to toggle)
libplack-middleware-reverseproxy-perl 0.16-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 128 kB
  • sloc: perl: 73; makefile: 2
file content (48 lines) | stat: -rw-r--r-- 933 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
NAME

    Plack::Middleware::ReverseProxy - Supports app to run as a reverse
    proxy backend

SYNOPSIS

      builder {
          enable_if { $_[0]->{REMOTE_ADDR} eq '127.0.0.1' } 
              "Plack::Middleware::ReverseProxy";
          $app;
      };

DESCRIPTION

    Plack::Middleware::ReverseProxy resets some HTTP headers, which changed
    by reverse-proxy. You can specify the reverse proxy address and stop
    fake requests using 'enable_if' directive in your app.psgi.

LICENSE

    This software is licensed under the same terms as Perl itself.

COPYRIGHT

    Copyright 2009-2019 Tatsuhiko Miyagawa

AUTHOR

    This module is originally written by Kazuhiro Osawa as
    HTTP::Engine::Middleware::ReverseProxy for HTTP::Engine.

    Nobuo Danjou

    Masahiro Nagano

    Tatsuhiko Miyagawa

SEE ALSO

    HTTP::Engine::Middleware::ReverseProxy

    Plack

    Plack::Middleware

    Plack::Middleware::Conditional