I have a grails application deployed on Tomcat7 and exposed by Apache2. The grails application respond on 8080 of the server the standard way but on Apache2 it is served to the user by https://
All works right except for a WebFlow controller. When the webflow redirect the user it change the https:// to http://
How I can force WebFlow to use https:// ?
Have you configured the Tomcat to be aware of the fact that it is behind an https reverse proxy? You should set
scheme="https"andsecure="true"on theConnectorelement in server.xml.Also make sure your
grails.serverURLinConfig.groovyis the full https URL from the clients’ point of view.