full-dress-10026
10/16/2018, 10:57 PMprotocol: "http"
to my cloudAws.Service
ports
and now I am getting a 502 when I visit the URL. When I remove the protocol
from the ports
it works as expected. Code:
let appService = new cloud.Service("basic-web", {
containers: {
basic_web: {
build: "../app",
memory: 256,
ports: [{port: 80, targetPort: 8080, external: true, protocol: "http"}]
}
},
replicas: 3
});
export let url = appService.defaultEndpoint.apply(e => `http://${e.hostname}`);
Any idea why this would happen?