Deploying Phoenix Liveview on AWS ECS with application load balancers using 2 listeners both forwarding traffic to HTTP on Port 80 from HTTPS-443 and HTTP-80.
The HTTP works fine but HTTPS WebSocket keeps failing.
runtime.exs
config :redeem_church_website, RedeemChurchWebsiteWeb.Endpoint,
http: [ ip: {0, 0, 0, 0}, port: 4000 ],
check_origin: :conn,
url: [host: host, scheme: "https", port: 443],
secret_key_base: secret_key_base
Please been stuck for days and need help