I've used http://github.com/rails/ssl_requirement in the past to do this.
There may be some Rack middleware now that does the same thing.

On Sun, Dec 13, 2009 at 9:19 PM, Shane <[email protected]> wrote:

> I just added the piggyback ssl add-on and was wondering if anyone had
> an idea about how I could prevent my app from being used w/o SSL - ie
> is there some way I could redirect to the SSL version any attempts to
> use the non-ssl version?  I know how I would do it with my own admined
> version of Apache, but not sure with Heroku.
>
> Thanks in advance.
>
> -Shane
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<heroku%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.


Reply via email to