activity 下的 nextcloud SVG 图标未在浏览器中显示
nextcloud SVG icon under activity is not shown in browser
如下所示,在 chrome 中打开时 svg 图标损坏。 (图标在firefox中不显示)
软件:
FreeNas Jail - FreeBSD 11.1 发布
阿帕奇 2.4
NextCloud 13.0.0
- 更新到 NextCloud 13.0.1,因为这是现在的最新版本。
- 如果错误仍然存在,请在 github nextcloud server repository.
中创建问题
显然,这个问题与 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地址。
如下所示,在 chrome 中打开时 svg 图标损坏。 (图标在firefox中不显示)
软件:
FreeNas Jail - FreeBSD 11.1 发布
阿帕奇 2.4
NextCloud 13.0.0
- 更新到 NextCloud 13.0.1,因为这是现在的最新版本。
- 如果错误仍然存在,请在 github nextcloud server repository. 中创建问题
显然,这个问题与 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地址。