Andro
(Andrew Bernard)
9 يناير 2021، 9:49ص
1
After a domain name change, my site is thankfully running again. I use nginx reverse proxy with LetsEncrypt certificates on the server, not in Docker but now I get a padlock warning ‘parts of this page are not secure, such as images’ on every page.
What is the remedy for this?
إعجاب واحد (1)
pfaffman
(Jay Pfaffman)
9 يناير 2021، 2:07م
2
See that force _https is enabled.
إعجاب واحد (1)
michaeld
(Michael - Communiteq)
9 يناير 2021، 8:46م
3
After enabling force_https
, upload your logos and favicon again. They tend to be cached as http.
إعجابَين (2)
After enabling force_https
the URLs to the logos continue to be served with http://, for instance:
<link rel="icon" type="image/png" href="http://sitename/uploads/default/optimized/1X/_129430568242d1b7f853bb13ebea28b3f6af4e7_2_32x32.png ...
I assume Discourse is using a cache somewhere that needs to be flushed; perhaps Redis?
I encountered the similar issue before for my website, however it works after i changed all the “http” to “https” from the pages. I hope this helps.