Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to force SSL on Heroku #282

Open
paulspencerwilliams opened this issue Mar 28, 2021 · 1 comment
Open

How to force SSL on Heroku #282

paulspencerwilliams opened this issue Mar 28, 2021 · 1 comment

Comments

@paulspencerwilliams
Copy link

paulspencerwilliams commented Mar 28, 2021

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?

@yogthos
Copy link
Member

yogthos commented Mar 29, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants