Read the documentation of Plack::Middleware::ReverseProxy and
ForwardedHeaders and they explain how to enable that. You should also
read perldoc Plack and Plack::Middleware to get the idea. Dumping
those partial information in this module's documentation is not a good
idea since that's a duplicate information and we don't like to
maintain two different places for the same. It's also a good idea to
force users to learn how to use Plack and middleware.
On Sun, Jun 13, 2010 at 12:51 PM, Christiaan Kras via RT
<bug-Catalyst-Engine-PSGI@rt.cpan.org> wrote:
Show quoted text> Sun Jun 13 15:51:18 2010: Request 58362 was acted upon.
> Transaction: Ticket created by CKRAS
> Queue: Catalyst-Engine-PSGI
> Subject: Document how to enable Plack::Middleware::* modules
> Broken in: 0.10
> Severity: (no value)
> Owner: Nobody
> Requestors: ckras@cpan.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=58362 >
>
>
> Currently the documentation states that when using a reverse proxy
> (lighttpd, nginx) you either need to enable
> Plack::Middleware::ReverseProxy or Plack::Middleware::ForwardedHeaders.
> Problem is, those who are not familiar with Plack (that's me :-)) don't
> know HOW to enable one of these modules.
>
> Does it require the user to extend the generated psgi file or do we need
> to write a full fledged builder...
>
> So, how would one enable one of these modules? Thanks.
>
--
Tatsuhiko Miyagawa