Blank page with Collabora in Nextcloud behind Apache proxy - Mixed content error

未关闭
#80 17 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@timar 已经在做这个了。

开始于 2026年11月1日。

  • #363 来自 @timar —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
20/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
apache, php
领域
networking

调研方向

Start by reproducing the blank document page through the Apache HTTPS proxy, then inspect the Firefox console error for the blocked http:// request to proxy.php?status. Compare the working HTTP or demo-server setup with the failing HTTPS proxy setup; done means documents open through the proxy without mixed-content errors.

由索引模型根据 Issue 内容生成。

描述

I have SNAP NC 19.0.3 installed with Collabora built in code server 4.2.8 and Collabora online 3.7.4.
In NC settings it shows a tick and Collabora online server as reachable.
If I configure and access NC as http://192.168.1.? it works ok and so does Collabora.
However if I configure and access via an Apache Proxy on 192.168.1.12 (https>http) ie, https:// nextcloud.my.domain, NC works fine but opening a document gives me a white page. Noted that in NC settings it shows a tick and Collabora online server is still reachable.

Selecting the demo server works OK. Switching back to built in code server is the same fault again.

I have been doing some searching but can't find a solution. I am guessing it is either an https>http issue or the proxy but so far I am stumped. BTW, using Onlyoffice & Community Document Server works OK.

PS
On inspecting the Firefox console output it is showing mixed content errors:
Content Security Policy: The page's settings blocked the loading of a resource at http://nc.my.domian/extra-apps/richdocumentscode/proxy.php?status ("connect-src").

So how do I get the Collabora code server to work via https>http apache proxy or is it not possible with Nextcloud Snap?

主要语言
PHP
星标
156
派生
37
平均合并
23 小时 51 分钟
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CollaboraOnline/richdocumentscode 的其他 Issue

查看 CollaboraOnline/richdocumentscode 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。