正如您在下面看到的,在 chrome 中打开时,svg 图标会损坏。(该图标在 Firefox 中不显示)
软件:
FreeNas 监狱 - FreeBSD 11.1 版本
阿帕奇 2.4
NextCloud 13.0.0
显然,这个问题与 nextcloud 配置有关。由于 nextcloud 在代理后面运行,图像从 http 发送到 https,导致浏览器中出现混合内容警告。为了解决这个问题,有必要像这样编辑 nextcloud 配置。
'trusted_proxies' =>
array (
0 => '555.555.555.555',
),
'overwriteprotocol' => 'https',
'overwrite.cli.url' => 'https://my.domain.tld',
'overwritecondaddr' => '^555\\.555\\.555\\.555$',
555.555.555.555 是您代理服务器的内部 IP 地址。