<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:17.804800033569336px;background-image:initial;background-repeat:initial">
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.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:17.804800033569336px;background-image:initial;background-repeat:initial">
<span style="font-size:14px">After going through documentation, I understand that I can log a specific header, but I want to log all of the headers.</span></p></div></div>