How to extract multiple values of a header for logging

Robert Paprocki rpaprocki at
Fri Nov 21 01:56:25 UTC 2014

This is possible using if you are able to use the Lua module:

"For multiple instances of request headers ... the value of
ngx.req.get_headers()["Foo"] will be a Lua (array) table..."

On 11/20/2014 05:19 PM, keeyong wrote:
> Thanks Maxim for the confirmation
> Posted at Nginx Forum:,254961,255012#msg-255012
> _______________________________________________
> nginx mailing list
> nginx at

More information about the nginx mailing list