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