View the client's HTTP protocol?

Mark McDonnell mark.mcdonnell at buzzfeed.com
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.

​Thanks.​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170210/fc4e5738/attachment.html>


More information about the nginx mailing list