Skip to content

Make Images SSL. Used on Minestatus to make non-SSL images SSL.

License

Notifications You must be signed in to change notification settings

vexsoftware/missl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Make Images SSL. Used on Minestatus to make non-SSL images SSL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages