Welcome! Log In Create A New Profile

Advanced

set arbitrary http header?

February 01, 2013 02:21PM
Currently in our setup, we are using the X-Real-IP header setting in nginx, to tell in our backend apache logs the IP address of the client.

Is it possible to set up nginx to insert an arbitrary HTTP header with text of my choosing, or with it's own IP address?

I'd like to set this up for the purposes of doing some easier log analysis.

Thanks!
SubjectAuthorPosted

set arbitrary http header?

zacharyalexsternFebruary 01, 2013 02:21PM

Re: set arbitrary http header?

Francis DalyFebruary 01, 2013 02:38PM

Re: set arbitrary http header?

zacharyalexsternFebruary 01, 2013 02:44PM

Re: set arbitrary http header?

Francis DalyFebruary 01, 2013 02:54PM

Re: set arbitrary http header?

zacharyalexsternFebruary 01, 2013 02:57PM

Re: set arbitrary http header?

Francis DalyFebruary 01, 2013 03:42PM

Re: set arbitrary http header?

zacharyalexsternFebruary 01, 2013 03:47PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 71
Record Number of Users: 5 on November 05, 2014
Record Number of Guests: 210 on November 05, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready