Welcome! Log In Create A New Profile

Advanced

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

Robert Paprocki
November 20, 2014 08:58PM
This is possible using if you are able to use the Lua module:

http://wiki.nginx.org/HttpLuaModule#ngx.req.get_headers

"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: http://forum.nginx.org/read.php?2,254961,255012#msg-255012
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 299
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready