I want to get the last IP address in the X-Forwarded-For header and
assign it to a variable. I’m doing this using embeded perl now. Is there
a way I can do this using the map module and regular expressions?
Posted at Nginx Forum: