luminus icon indicating copy to clipboard operation
luminus copied to clipboard

How to force SSL on Heroku

Open paulspencerwilliams opened this issue 3 years ago • 1 comments

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?

paulspencerwilliams avatar Mar 28 '21 19:03 paulspencerwilliams

Yeah, you could add a piece of middleware that redirects to SSL. This middleware should do the trick.

yogthos avatar Mar 29 '21 14:03 yogthos