【发布时间】:2016-03-25 14:52:23
【问题描述】:
我的 drupal 安装工作正常。我试图将那个迁移到在 nginx 反向代理后面运行的 Docker 容器上。一切似乎都很好,但我有一些无法加载的 .js 和 .css 文件,因为在 drupal 中它们与 http 链接。错误是:
Mixed Content: The page at https://proxy.xx.xx/ was loaded
over HTTPS, but requested an insecure stylesheet
http://proxy.xx.xx/sites/default/files/css/css_xE-rWrJf-
fncB6ztZfd2huxqgxu4WO-qwma6Xer30m4.css'. This request has been
blocked; the content must be served over HTTPS.
我有 7 个类似的文件,但我找不到这些文件在 drupal 中的调用位置或如何将 http 更改为 https。
最好的问候。
【问题讨论】: