How to log all headers in nginx?

Zhang Chao zchao1995 at gmail.com
Wed Jun 7 06:25:04 UTC 2017


You can traverse the list r->headers_in.headers.


On 7 June 2017 at 14:22:38, prathour9 (nginx-forum at forum.nginx.org) wrote:

I want to log all the headers in client browser send to nginx.However known
header i can log.But I want to log the all unknown headers.
How can i log unknown header in nginx.

Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,251159,274722#msg-274722

_______________________________________________
nginx mailing list
nginx at nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170606/434b6584/attachment.html>


More information about the nginx mailing list