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" and secure="true" on the Connector element in server.xml.
Also make sure your grails.serverURL in Config.groovy is the full https URL from the clients' point of view.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With