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.

  • Admin

    Nice job @yariplus :smile:

  • Global Moderator

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

Log in to reply

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.