aptible endpoints:https:create
command,aptible endpoints:https:modify
command.
FORCE_SSL=true
in your app configuration.
HTTP(S) Endpoints also allow you to specify how you’d like requests to be routed among containers through the Round Robin, Least Outstanding Requests, and Weighted Random load balancing algorithms.
EXPOSE 80 443
, then the default port would be 443
.
It’s important to make sure your app is listening on the port the Endpoint will route traffic to, or clients won’t be able to access your app.