I am having trouble using Collabora (Nextcloud Office) in NC. When I open a (for example) docx file the Nextcloud interface returns a Could not open. I have seen this error on the internet a lot, but couldn’t find a solution that fits me
For the record; I am using a Reversed Proxy (Apache) in front of my Nextcloud instance (Apache).
This is my setup:
Reverse Proxy: Linux Ubuntu 22.04 / Apache 2.4.52
Nextcloud: Linux Ubuntu 22.04 / Apache 2.4.52 / Nextcloud 25.0.3
cloud.example.com > Firewall > Reverse Proxy > Nextcloud
I am using the Collabora CODE Builtin server of Nextcloud. When setting the server settings in Nextcloud, it says that the CODE server is reachable.
When opening Nextcloud connecting to the server directly (using the hostname instead of domain), Nextcloud Office does work. So the problem seems to be in the reverse proxy somewhere.
I have tried enabling a lot of things in Apache or the vHost config file, but nothing helps. I have enabled mods: proxy, proxy_http, proxy_html, proxy_express, proxy_fcgi, proxy_connect, proxy_wstunnel.
The richdocumentscode url is set to https://cloud.example.com/apps/richdocumentscode/proxy.php?req=
Does anyone know how to fix this / can anyone help me?
Thanks in advance!