How to fix emojis not served over HTTPS

  • May I please get some help, I am getting this browser warning:

    Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure image ''. This content should also be served over HTTPS.

    I am using this nginx conf (stripped down to relevant info, i tested without nginx static content serving, same issue):

    server {
       listen 80;   
       return 302 https://$server_name$request_uri;
    server {
        listen 443 ssl spdy;
        #SSL cert stuff
        #proxy header stuff
        location / {

    It looks like this error only happens with static content served from the emoji plugin, where looking at the network traffic, the initiator for the emoji images is a full http://... address while for all other static files it is nodebb.min.js

  • Community Rep

    Check that your main config.json file is using https for the url setting.

  • @yariplus that was it, amazing troubleshooting. once again thank you, you are awesome.

  • GNU/Linux Admin

    Nice job @yariplus 😄

  • Global Moderator Plugin & Theme Dev

    Another note: use http/2 instead of spdy in Nginx. I believe they removed spdy support since http/2 supercedes it.

  • Community Rep

    @yariplus said in How to fix emojis not served over HTTPS:

    Check that your main config.json file is using https for the url setting.

    Same issue here, but https has long been used in the config.json file. Just some emojis causing the problem.

  • I'm having exactly the same problem.
    The solution of @yariplus does not help me, since then it generates an error when I login to the forum with Google, it tells me ops! an error has happened, our umpa loompas are working to fix it, and it won't let me login, the problem is that the forum is already in production

Suggested Topics

| | |

© 2014 – 2022 NodeBB, Inc. — Made in Canada.