logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

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

       Nobuo Danjou

       Masahiro Nagano

       Tatsuhiko Miyagawa

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.

Name

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

See Also

       HTTP::Engine::Middleware::ReverseProxy

       Plack

       Plack::Middleware

       Plack::Middleware::Conditional

perl v5.36.0                                       2022-11-29               Plack::Middleware::ReverseProxy(3pm)

Synopsis

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

See Also