However, you don't specify in what file the line self.app.get(r, self.routes[r]); must be changed.
I have also read that the ssl is actually not setup on the gear itself but on the haproxy that is in front of the gear. The configuration that is mentionned above should be then changed at the haproxy level, otherwise a redirect loop will occur, right ?
Hello,
In your documentation, you specify this https://developers.openshift.com/faq/troubleshooting.html#_how_do_i_redirect_traffic_to_https
However, you don't specify in what file the line self.app.get(r, self.routes[r]); must be changed.
I have also read that the ssl is actually not setup on the gear itself but on the haproxy that is in front of the gear. The configuration that is mentionned above should be then changed at the haproxy level, otherwise a redirect loop will occur, right ?