Welcome! Log In Create A New Profile

Advanced

How to extract multiple values of a header for logging

November 19, 2014 03:09PM
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!
-K
Subject Author Posted

How to extract multiple values of a header for logging

keeyong November 19, 2014 03:09PM

Re: How to extract multiple values of a header for logging

Maxim Dounin November 20, 2014 10:00AM

Re: How to extract multiple values of a header for logging

keeyong November 20, 2014 08:19PM

Re: How to extract multiple values of a header for logging

Robert Paprocki November 20, 2014 08:58PM

Re: How to extract multiple values of a header for logging

keeyong November 23, 2014 03:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 124
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready