> I need a HTTP proxy that can handle requests for a single upstream server,
> but also log request headers, raw request body, response headers and raw
> response body for each request. Preferably this should be logged to a
> separate daily logfile (with date-stamped filename), with timestamps, but
the exact format isn't important.
I understand that nginx doesn't provide full logging like this out of
the box, so I was wondering if it would be difficult to add. Is there a
single well-defined point in the code where an upstream request is ready
to be sent, and a point where the re