From c8032867b14e52d18c239ed97140be3ae05d9f2f Mon Sep 17 00:00:00 2001 From: eanavitarte <130239684+eanavitarte@users.noreply.github.com> Date: Wed, 3 May 2023 19:40:49 -0500 Subject: [PATCH] fastcgi: Fix `capture_stderr` (#5515) --- modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go b/modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go index 51600676..f150edc9 100644 --- a/modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go +++ b/modules/caddyhttp/reverseproxy/fastcgi/fastcgi.go @@ -171,6 +171,7 @@ func (t Transport) RoundTrip(r *http.Request) (*http.Response, error) { rwc: conn, reqID: 1, logger: logger, + stderr: t.CaptureStderr, } // read/write timeouts