Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 876 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 876 Bytes

MISSL

Make Images SSL is a simple image proxy based using a Rack middleware. MISSL performs basic filtering to limit content type to images, and content length to 5MB. Local IP addresses are also restricted.

Installation

Add this line to your application's Gemfile:

gem 'missl', :git => 'git://github.com/vexsoftware/missl.git'

And then execute:

$ bundle

Usage

To proxy a non-SSL image on Rails, use the following for the image URL:

missl_path(:url => "http://example.com/path/to/image.png")

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

Copyright (c) 2012 Vex Software LLC, released under the MIT license.