Get connected IPs and request addresses

Adrián Navarro adrian at navarro.at
Wed Feb 29 21:03:00 UTC 2012


Hello,

We are currently serving files using X-Accel-Redirect. Previously, we
used lighttpd and we parsed the server-status page to retrieve IPs
along with the request and GET query:

192.168.10.11	0/0	157998/150305212	write	7	host	/get.php?reference=xxxx

(We need to store the reference and the IP and track them as long as
it's still writing to the connection)

Is there a similar way to do such thing in nginx? Modules and other
solutions with the same result are welcome.

Thank you for your time!

-Adrián



More information about the nginx mailing list