set arbitrary http header?
Francis Daly
francis at daoine.org
Fri Feb 1 19:36:46 UTC 2013
On Fri, Feb 01, 2013 at 02:21:05PM -0500, zacharyalexstern wrote:
Hi there,
> 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.
Which line in your nginx configuration is doing that?
> 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?
Yes.
What happens if you copy the current line, and change some parts of it?
It should be straightforward enough to test.
f
--
Francis Daly francis at daoine.org
More information about the nginx
mailing list