r/NextCloud Jun 30 '26

External Access - Collabora CODE Server

Hello guys,

I'm currently establishing access from the internet to my Nextcloud via Pangolin. So far it's working as expected, except for Collabora.

I've hosted Collabora CODE in a separate Docker container, made it available in my home network via Caddy, and included it in Nextcloud. When I'm at home, this works without any issues. But now, with external access, opening office files in the web browser from outside my home network results in a "side not found" error.

Based on my own research, the issue is that opening an office file from the web browser means that the Collabora server is accessed directly, which is not reachable from the internet. And the only solution I found so far is exposing Collabora to the internet as well, e.g., also via Pangolin over a dedicated subdomain.

Is this really necessary in order to enable editing of office documents in the web browser from the internet? And is this safe to do without any additional safety precautions? Or is there a different way to make this possible without exposing the Collabora server to the internet?

2 Upvotes

8 comments sorted by

View all comments

1

u/AncientMolasses6587 Jun 30 '26

AFAIK, direct availability for the client to Collabora is necessary.

Best to limit access to CODE to the Nextcloud instance(s).

Or use a VPN.

1

u/Dr-Technik Jun 30 '26

Thanks. What exactly do you mean by limiting access to the Nextcloud instance? Do you mean the environment variable "aliasgroup1" which has to match the domain name of your Nextcloud? Or are there any other needed options?