Drupal 站点通过 HTTPS 加载,但请求了不安全的样式表

Drupal Site was loaded over HTTPS, but requested an insecure stylesheet

我在 Drupal 中将 HTTP 转换为 https 时遇到以下问题

Site was loaded with HTTPS but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Open+Sans:regular&subset=cyrillic-ext'. This request has been blocked; the content must be served over HTTPS

提前致谢

谢谢大家,我加了

$_SERVER['HTTPS'] = 'on'      

在 settings.php 文件中并将 http 转换为 https