使用 CloudFlare 后,移动访问一直加载

我使用了 CloudFlare,测试后,在手机浏览器中打开网页时,它一直在加载。看起来是某个文件无法加载,导致加载遮罩一直显示。

我尝试打开或关闭 CloudFlare 中的某些功能,但仍然无效。经过测试,已确定是 CloudFlare 配置失败导致的(移除 CloudFlare 后就可以进入)。

我阅读了这篇文章,需要将 cloudflare.template.yml 添加到 app.yml。应该添加到哪里?

templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml"
  ## Uncomment the next line to enable the IPv6 listener
  #- "templates/web.ipv6.template.yml"
  - "templates/web.ratelimited.template.yml"
  ## Uncomment these two lines if you wish to add Lets Encrypt (https)
  #- "templates/web.ssl.template.yml"
  #- "templates/web.letsencrypt.ssl.template.yml"
  - "templates/cloudflare.template.yml"

这样对吗?

目前的情况是,在电脑和某些应用程序上打开网页是正常的,但在手机浏览器中打开时会一直加载(已清除缓存,多人尝试)。

不知道这是否相关,但最近出现了一些与新的 Cloudflare Speed Brain 相关的新错误

2 个赞