Re: HTTPS support and multiple ports support in CloudFoundry with buildpacks


Daniel Mikusa
 

On Sun, Mar 27, 2016 at 1:55 AM, Nanduni Nimalsiri <nandunibw(a)gmail.com>
wrote:

Hi all,

I want to clarify if HTTPS is supported in CF.

Yes.


As I have tried to deploy using buildpacks, it only exposes HTTP
transport. I need to know whether this is a limitation in CF deployment.
HTTPS is not available at the application layer. HTTPS is typically
terminated at the load balancer or at the gorouter.

Thus traffic flow looks like this: Browser -> HTTPS -> LB -> HTTP or HTTPS
(your pick) -> gorouter -> HTTP -> App. You can't use HTTPS for that last
leg at the moment, but the last leg is all on your internal network so
that's something to consider (i.e. does it really need to be for your
environment?) as well.


Furthermore, containers only get one port. Can't I expose multiple ports
instead?
At the moment yes only one port. I believe multiple ports are coming
soon. Maybe someone else on the list can clarify more.

Dan



I need to clarify these two facts. Please help.

Best regards,
Nanduni.

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