Sha256: f326a2f6f4e0e0233183da1eb5f668321424b80e4212cc2f7c1c7b3fdec952ce

Contents?: true

Size: 814 Bytes

Versions: 2

Compression:

Stored size: 814 Bytes

Contents

# SentryRealIp

This gem provides a rack middleware that will enable Sentry
to see the real IP of the user causing an error.

You need this gem, if there is a proxy between the application server
and the user.

# Installation & Configuration

Include the gem in your application:

````ruby
gem 'sentry_real_ip', '~> 1.1', codevault: 'kaeuferportal/sentry_real_ip'
````

Depending on your framework, you may also need to tell your application
to use the middleware of this gem. For Rails applications, it just works,
and you are done by adding it to the Gemfile. 

For other frameworks (e.g. Sinatra) you need to explicitly use the
middleware, e.g. in your `config.ru`, you can put this before the
call to `run`:

````ruby
use Raven::Rack # you will usually already have this line
use SentryRealIp::Middleware
````

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sentry_real_ip-1.1.1 README.md
sentry_real_ip-1.1.0 README.md