Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

set arbitrary http header?

$
0
0
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!

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>