X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=1d598dd07d5f1d0cc117acbe78ba3f1ef184ca93;hp=58d79eb1d88f4ee471e547192feac2dff6533b6b;hb=ef41ea15458d2d2beddee792deea598249df2852;hpb=f06d7696927be5f9d5d35da22c001b083b543d68 diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 58d79eb..1d598dd 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -2660,6 +2660,10 @@ sub setup_psgi_app { if -e $psgi_file; } + # Note - this is for back compatibility. Catalyst should not know + # or care about how it's deployed. The recommended way of + # configuring this is now to use the ReverseProxy middleware + # yourself if you want it in a .psgi file. return Plack::Middleware::Conditional->wrap( $app->raw_psgi_app, builder => sub { Plack::Middleware::ReverseProxy->wrap($_[0]) },