How to log all headers in nginx?

Gaurav Kumar gauravphoenix at
Wed Jun 25 18:41:16 UTC 2014

How do I go about logging all of the headers client browser has sent in
Nginx? I also want to log response header. Note that I am using nginx as
reverse proxy.

After going through documentation, I understand that I can log a specific
header, but I want to log all of the headers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list