Re: Disable HTTP transport


Juan Antonio BreƱa Moral <bren at juanantonio.info...>
 

You have an example here with node:

https://github.com/jabrena/CloudFoundryLab/blob/master/Node_HelloWorld_ssl2/index.js

var ssl = false;
if(req.headers['x-forwarded-proto'] === "https"){
ssl = true;
}

Juan Antonio

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.