by eoyola · 17y ago · 0 comments
@remote_ip = request.env["HTTP_X_FORWARDED_FOR"]
I'm guessing that your 192.168.99.4 is being sent. The reason I grab this is because lighttpd is acting as a load balancer and I need the IP to find your location. Bummer about that.