I\'m moving an app to heroku and am having some issues with ssl and redirects.
I\'m on rails 3.1 and I\'ve tried forcing ssl with middleware in the environments producti
You should be able to do this by running a rack redirect before the force_ssl middleware.
This post shows you how to do it.
http://blog.dynamic50.com/2011/02/22/redirect-all-requests-for-www-to-root-domain-with-heroku/
Hope this helps.