I deployed the Grails app to Heroku on the dock.
I purchased an SSL certificate from dnsSimple and successfully configured it, considering when I clicked the button " https://mydomainname.com " I see the Certificate Information.
Now I want to force all messages to be set to https.I tried the following things, but so far nothing has worked:grails is a simple application for testing spring secure secure channel security on Herokugrails - spring - a secure security channel that triggers a redirect loop (on Heroku)and many other posts recommending using a filter for https, but no luck.Can you help me?
See "Using the Spring Security Plugin in Heroku Plugin Documents for a description of the useHeaderCheckChannelSecurity property: http://grails-plugins.github.com/grails-heroku/docs/manual/guide/2%20Usage.html
useHeaderCheckChannelSecurity
This issue occurs due to the misuse of the x-forwarded-proto header used in the spring security kernel and the X-FORWARDED-PROTO header used by the hero. Load Balancer for https based URL. The following link worked for me.Heroku Forum
Source: https://habr.com/ru/post/1394118/More articles:who (web server or developer) cares about maintaining a single HTTP session in a browser? - javaDjango ImageField passing call for upload_to - djangoHow to initialize a pointer vector - c ++grails - spring - secure redirect security channel (on Heroku) - grailsC ++ input operator overload (<<) - c ++How to apply an outer join to 2 tables using a staging table? - joinHow to add a progress bar (timeline) to a slider, like slides or nivoslider - jqueryStrange error with range type in list assignment - pythonHow to get the length of innerHTML (total characters) in JavaScript? - javascriptgrails - simple application for testing spring secure channel security on Heroku - grailsAll Articles