Do I need to allow my Nextcloud via CSP?
-
wrote on Feb 19, 2023, 6:55 AM last edited by
Collabora is managed and hosted on a Cloudron
When Nextcloud is managed and hosted by Cloudron the connection works
but When Nextcloud is outside Cloudon the connection is not established.Do I need to allow my Nextcloud via CSP?
-
To get this working, you have to login to the collabora app on your Cloudron (we have added a small config UI for that purpose) and then configure which origins can connect: https://docs.cloudron.io/apps/collabora/
-
-
Sorry to re-use this thread, but I tried adding two domains on a collabora instance and couldn't get it to work with both of them - it either gave me this 502 or some other WOPI error. Until I found this snippet and added it manually into the
coolwsd.xml
file.The gui suggests you can add multiple domains via regex, split with pipes, but I tried all variations and just couldn't get it to work properly. Is there something that I've missed? One domain includes a dash, but with or without escaping, it just wouldn't work (only with the method above). Is there a trick to it to make collabora work with nextcloud domains?
-
The config settings UI in Cloudron just forwards the input value for https://sdk.collaboraonline.com/docs/installation/Configuration.html#multihost-configuration
-
thanks @nebulon, I thought as much, but what's the actual syntax? The same as in the suggestions in the UI? Should that also update the xml file? Does the app require a restart afterwards? I just couldn't get two hosts to work...