josh/rack-ssl — Issue #11: Seems not work with sinatra and thin
Author: sjoonk
Created: 2011-10-11 07:07:51+00:00
State: open

I use this gem in my sinatra app and seems not work well.
When I enter normal http url in my browser, it remains without change.
Here is my sinatra code.

use Rack::SSL
get '/' do
erb :index
end

and I run a thin server with ssl enabled.

When I enter http://localhost:3000/, it remains as is, doesn't changed to https://localhost:3000/

Any idea?