Disqus comment count HTTPS

67 views Asked by At

Since i've upgrade my site on HTTPS, i can't get comment count. My website work with MeteorJS and i use this module :

  loadCounts: ->
    unless @shortName
      console.log 'Disqus needs a shortname. eg disqus = new Disqus(shortname)'
      return

    window.disqus_shortname = @shortName
    window.DISQUSWIDGETS = undefined
$.getScript("http://" + @shortName + ".disqus.com/count.js")

Do you know if i need to change my configuration on disqus for enable https ? Maybe Nginx configuration too ?

1

There are 1 answers

2
Hannoun Yassir On

If your page is in https all the other resources should be secure including Disqus. So try one of the two following changes

$.getScript("//" + @shortName + ".disqus.com/count.js")

or this

$.getScript("https://" + @shortName + ".disqus.com/count.js")