I added `protocol: "http"` to my `cloudAws.Service...
# general
f
I added
protocol: "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:
Copy 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?