0.0
Low commit activity in last 3 years
No release in over a year
Simple gem that extends Rails `request.remote_ip` to default to Fly's `Fly-Client-IP` header.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.12

Runtime

>= 6.0, < 8.0
 Project Readme

Actionpack::Fly

Build Status

Simple gem that extends Rails request.remote_ip to default to Fly's Fly-Client-IP header. More about Fly HTTP Request Headers and why we choose to trust Fly-Client-IP.

Installation

Add this line to your Rails application's Gemfile:

gem 'actionpack-fly'

Usage

None! Just install and feel confident that request.remote_ip is doing its job.

Contributing

License

The gem is available as open source under the terms of the MIT License.

Credits

Forked from https://github.com/customink/actionpack-cloudflare