From ca157ba9b8dfecff764e08fef5c04ec4a399e1cf Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 12 Mar 2015 12:55:42 -0500 Subject: gnu: Add Plack-Middleware-ReverseProxy. * gnu/packages/web.scm (perl-plack-middleware-reverseproxy): New variable. --- gnu/packages/web.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index d41ddccdc3..82d768e630 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -1169,6 +1169,29 @@ can say what method it actually meant.") required.") (license (package-license perl)))) +(define-public perl-plack-middleware-reverseproxy + (package + (name "perl-plack-middleware-reverseproxy") + (version "0.15") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/" + "Plack-Middleware-ReverseProxy-" + version ".tar.gz")) + (sha256 + (base32 + "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-plack" ,perl-plack))) + (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy") + (synopsis "Supports app to run as a reverse proxy backend") + (description "Plack::Middleware::ReverseProxy resets some HTTP headers, +which are changed by reverse-proxy. You can specify the reverse proxy address +and stop fake requests using 'enable_if' directive in your app.psgi.") + (license (package-license perl)))) + (define-public perl-test-tcp (package (name "perl-test-tcp") -- cgit 1.4.1