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!
Subject Author Posted

set arbitrary http header?

zacharyalexstern February 01, 2013 02:21PM

Re: set arbitrary http header?

Francis Daly February 01, 2013 02:38PM

Re: set arbitrary http header?

zacharyalexstern February 01, 2013 02:44PM

Re: set arbitrary http header?

Francis Daly February 01, 2013 02:54PM

Re: set arbitrary http header?

zacharyalexstern February 01, 2013 02:57PM

Re: set arbitrary http header?

Francis Daly February 01, 2013 03:42PM

Re: set arbitrary http header?

zacharyalexstern February 01, 2013 03:47PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 93
Record Number of Users: 5 on July 11, 2016
Record Number of Guests: 271 on July 19, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready