openshift-cs / devcenter

Developer Center
https://developers.openshift.com
14 stars 34 forks source link

FAQ : How do I redirect traffic to https in nodejs #485

Closed jchapelle closed 8 years ago

jchapelle commented 8 years ago

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 ?