diff --git a/caddyhttp/fastcgi/fastcgi.go b/caddyhttp/fastcgi/fastcgi.go index c3e1cab9..4cf957d9 100644 --- a/caddyhttp/fastcgi/fastcgi.go +++ b/caddyhttp/fastcgi/fastcgi.go @@ -205,7 +205,6 @@ func (h Handler) buildEnv(r *http.Request, rule Rule, fpath string) (map[string] reqURI := r.URL.RequestURI() if origURI := r.Header.Get(internalRewriteFieldName); origURI != "" { reqURI = origURI - r.Header.Del(internalRewriteFieldName) } // Some variables are unused but cleared explicitly to prevent