eZ Platform Discussions

mixed-content in LoadBalanced

I have an EZ configured in a CentOS, NGINX (TCP-80) and MySQL. Above it has a Load Balanced that has TCP-443 published and sends traffic to TCP-80. The problem is that the images, css, js the EZ creates them with HTTP and gives mixed-content error. How can I solve that?

Links in your templates should be relative. Then it will take whatever protocol is used.

E.g. if you include your CSS file like this: “http://your.domain.tld/app.css” then of course it will be problematic.

you need to make sure all your internal links are relative. E.g. “/app.css”