luminus
luminus copied to clipboard
How to force SSL on Heroku
I've pushed a Luminus playground app to Heroku and have enabled SSL using
heroku ps:type hobby
I'd now like to force SSL which needs to be done at the application level. How can this be done in Luminus?
Yeah, you could add a piece of middleware that redirects to SSL. This middleware should do the trick.