How to extract multiple values of a header for logging

keeyong nginx-forum at
Wed Nov 19 20:09:16 UTC 2014

I have a custom header in http response and it can appear more than once.
Let's say it is called x-extra. 

In my nginx configuration, I want to extract all of its values and log them
together but I found it is always extracting the very first one. Is it
possible to do this somehow? 

Thanks in advance!

Posted at Nginx Forum:,254961,254961#msg-254961

More information about the nginx mailing list