HoneyMoose
  • 首页
  • Java
  • Jersey
  • Jira
  • Confluence
  • U.S.
    • USRealEstate
    • USVisaTrack
    • H1B
  • 项目和网站
    • CWIKI.US
    • OSSEZ 社区
    • WIKI.OSSEZ.COM
    • BUG.OSSEZ.COM
    • RSS.OSSEZ.COM
BLOG.OSSEZ.COM
A responsive blog theme focused om user reading experience
  1. Home
  2. Computer Science
  3. This article

Discourse 升级后提示 https 混合内容

2020年10月05日 645Browse 0Like 0Comments

在升级 discourse 后,很多内容没有办法正确显示。

通过 F12 查看浏览器后,发现有提示 https 和 http 的混合内容。

下面是混合内容常在浏览器中看到的提示。

 

simple-mixed-content-error

 

不管是不是对系统进行重启或者刷新缓存都没有办法解决。

强制使用 https

其实 Discourse 如果安装的时候使用了 https ,那么你可用修改配置强制所有内容都使用 https。

在默认的情况下,Discourse 都会使用 Let’s Encrypt 来对你的网站进行加密。

配置的路径在 :admin/site_settings/category/security 下面

你也可以直接搜索 force_https

 

Snag_542ad8ad

 

在完成上面的配置后,你可以重启 docker 来刷新配置。

https://www.ossez.com/t/discourse-https/550

Tags: None
Last updated:2020年10月05日

Kratos

stay absorbed stay excellent

Like
< Previous
Next >

Comments

Cancel reply

Newest Hotspots Random
Newest Hotspots Random
IntelliJ IDEA 2023.1 版本添加了包中类的列表功能 Jenkins 修改启动的端口 Spring 项目运行提示错误 Not a managed type Linux 查看 SELinux 的状态 WordPress 网站 Error Establishing a Database Connection(建立数据库连接时出错) Linux 开启或关闭 SELinux
Windows 上安装 Scala 美国在卖房之前需要签独家代理合同吗 Java 一维数组的定义和初始化 湘南古村 —— 赵家湾村(村落规模) 找到 Confluence 6 的日志和配置文件 Confluence 6 对一个空间进行归档后产生的影响
Categories
  • Algorithm(算法)
  • AMQP
  • Angular
  • CI
  • Compile And CI
  • Computer Science
  • Confluence
  • DataBase
  • Gradle
  • H1B
  • Hibernate
  • IDE
  • Java
  • Jersey
  • Jira
  • MariaDB
  • PrestaShop
  • Spring
  • Spring Batch
  • U.S.
  • USRealEstate
  • USVisaTrack
  • 我的小厨

COPYRIGHT © 2020 HoneyMoose. ALL RIGHTS RESERVED.

THEME CWIKIUS.CN MADE BY VTROIS