set arbitrary http header?

zacharyalexstern nginx-forum at nginx.us
Fri Feb 1 19:21:05 UTC 2013


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!

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,235827,235827#msg-235827



More information about the nginx mailing list