Mixed http/https content causes problems
I set up Commento to listen on port 8080 and proxied to it from nginx, using SSL for the site. I have nginx set up so that all requests on port 80 are redirected to SSL. However, this setup causes problems because Commento specifically hardcodes http://
in its links. Here's an example of console output in Firefox (similar results with Chrome).
Blocked loading mixed active content "http://commento.red-dove.com/js/jquery.js"[Learn More] login
Blocked loading mixed active content "http://commento.red-dove.com/js/login.js"[Learn More] login
Blocked loading mixed active content "http://commento.red-dove.com/css/auth.css"[Learn More] login
Blocked loading mixed active content "http://commento.red-dove.com/js/jquery.js"[Learn More] login
Loading failed for the <script> with source “http://commento.red-dove.com/js/jquery.js”. login:1:1
Blocked loading mixed active content "http://commento.red-dove.com/js/login.js"[Learn More] login
Loading failed for the <script> with source “http://commento.red-dove.com/js/login.js”. login:1:1
Blocked loading mixed active content "http://commento.red-dove.com/css/auth.css"[Learn More] login
Loading mixed (insecure) display content "http://commento.red-dove.com/images/logo.svg" on a secure page[Learn More]
login
Loading mixed (insecure) display content "http://commento.red-dove.com/images/120x120.png" on a secure page[Learn More] FaviconLoader.jsm:134:6
TypeError: window.commento is undefined[Learn More]
You can see for yourself what I mean by visiting http://commento.red-dove.com/ - it doesn't work because of the errors. Is there a problem with having all the links be protocol-agnostic, eg. just /js/jquery.js
, /js/login.js
etc.? Or is there some configuration which controls this?