# 登录和注销错误，这是由于缓存设置与Cloudflare冲突

**URL:** <https://meta.discourse.org/t/login-and-logout-errors-from-cache-settings-conflict-with-cloudflare/345986>\
**Category:** Support\
**Tags:** cloudflare\
**Created:** [2025年一月7日 12:23 UTC](https://meta.discourse.org/t/login-and-logout-errors-from-cache-settings-conflict-with-cloudflare/345986 "2025-01-07T12:23:02Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2025年一月7日 14:47 UTC](https://meta.discourse.org/t/login-and-logout-errors-from-cache-settings-conflict-with-cloudflare/345986/10 "2025-01-07T14:47:55Z")

</div>

关于混合内容错误有很多主题。

这里有一个解决方案：

> [@Font family not working](https://meta.discourse.org/t/font-family-not-working/344024/14?u=cocoquark):
>
> Hello wave If so, the force\_https site setting is automatically enabled. This is a hidden site setting that you can change in the rails console. It might not be enabled somehow thinking Give it a try slightly_smiling_face cd /var/discourse ./launcher enter app rails c SiteSetting.force\_https=true exit

但是，某些内容不通过 HTTPS 加载一定是有原因的，因为在标准安装中，HTTPS 应该是默认设置。

---

_[View the full topic](https://meta.discourse.org/t/login-and-logout-errors-from-cache-settings-conflict-with-cloudflare/345986)._
