RubyGems.org

x-real-ip

0.2.0

Replace REMOTE_IP with X-Real-Ip if it's trusted (useful for Nginx)

installgem install x-real-ip
Authors

55ideas

2,617 total downloads 279 for this version
Owners

1b2c9760a56e43ca2723cf5b25fdfedb

Licenses

MIT

Gemfile
gem 'x-real-ip', '~> 0.2.0'
Versions
  1. 0.2.0 September 19, 2014 (8 KB)
  2. 0.1.2 December 1, 2013 (7.5 KB)
  3. 0.1.1 November 28, 2013 (7.5 KB)
  4. 0.1.0 November 28, 2013 (7.5 KB)
  5. 0.0.1 November 25, 2013 (7.5 KB)
Ruby Dependency
  1. >= 0