View the client's HTTP protocol?

Mark McDonnell mark.mcdonnell at
Fri Feb 10 10:38:36 UTC 2017

I know the $status variable shows you the upstream/origin's HTTP protocol
(e.g. HTTP/1.1 200) but is there a way to view the protocol the client made
the request with?

For example we've seen some S3 errors returned with a 505 which suggests
the user made a request with some strange HTTP protocol, but we don't know
what it would have been.

It would be good for us to log the client's protocol so we have that
information in future.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list