-
-
Notifications
You must be signed in to change notification settings - Fork 332
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
Force HTTPS redirect on heroku #157
Comments
solution: make sure there is a configuration parameter for thespring boot app on whether redirectohttps is set, and make sure this is then activated in the |
Can't you use the the proposed example from Heroku? Seems a valid configuration and does not interfere with running it locally:
|
Yes that is the one I meant with https://devcenter.heroku.com/articles/preparing-a-spring-boot-app-for-production-on-heroku#force-the-use-of-https but I thought it would cause some interference on some of our deployment variants |
hmm it seems i need to have another version of spring security for this.. let me check |
@nbaars this solution will put on spring cloud security with auth :( |
Fixed with #173 |
During our webinar with GitGuardian, we demoed the app , by mistake using http at heroku, which led to an issue with the cookies, not keeping our progress.
Therefore we need to make sure that at Heroku we keep redirecting http traffic to https, with for instance, https://devcenter.heroku.com/articles/preparing-a-spring-boot-app-for-production-on-heroku#force-the-use-of-https
The text was updated successfully, but these errors were encountered: