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 'https://www.tactiqo.com/topic/4/tactiqo-is-born' was loaded over HTTPS, but requested an insecure image 'http://www.tactiqo.com/plugins/nodebb-plugin-emoji-one/static/images/1f600.svg'. 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 / { proxy_pass http://127.0.0.1:4567; } }
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
-
Check that your main
config.json
file is usinghttps
for the url setting. -
Another note: use http/2 instead of spdy in Nginx. I believe they removed spdy support since http/2 supercedes it.
-
@yariplus said in How to fix emojis not served over HTTPS:
Check that your main
config.json
file is usinghttps
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