sa-mw-dach / podium

48 stars 10 forks source link

mozaik mixed content websocket #10

Open dlbewley opened 4 years ago

dlbewley commented 4 years ago

If the mozaik route is secured [1] the mozaik.min.js attempts to attach to websocket over ws:// resulting in mixed content and a blank page. Is there a workaround for this?

[1]

oc expose svc/mozaik --hostname shorterhostname --name=podium
oc annotate route/podium kubernetes.io/tls-acme="true"
ktenzer commented 4 years ago

The route for mozaik is hardcoded for http. The app itself is only setup for http but we can certainly change that. All other routes are https. The thought was that Mozaik is really just providing links to https routes so there was no value really of having it be https. Mozaik is just a redirection layer.

ktenzer commented 4 years ago

Do you have use case why it should be https?

dlbewley commented 4 years ago

I don't have a requirement for TLS. It just seems like a ++. I haven't looked at Mozaik, and I'm not sure how much work it would be. This isn't a blocker, so feel free to close this.

ktenzer commented 4 years ago

I will take a look at Mozaik, probably just a few settings we need. If its simple Ill go ahead and make change.