3

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:// ?

Fabiano Taioli
  • 5,270
  • 1
  • 35
  • 49

1 Answers1

2

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.

Ian Roberts
  • 120,891
  • 16
  • 170
  • 183