Easiest way to allow multiple hosts using Collabora

I had Collabora COOL running smoothly together with Sync-in, without doing much nifty configuration. (And written it down in a tutorial.)
Then I discovered NextExplorer that should also be able to open files using Collabora, but its WOPI connections were refused.

I’ve searched and found that one way to overcome this is to edit the ‘storage’ section in coolwsd.xml with groups. This appears a bit overwhelming to me, because - to my understanding - I now need to configure each possible WOPI host, i.e. https://sync-in.mydomain.tld and its local equivalent http://192.168.2.211 and https://nextexplorer.mydomain.tld and its local equivalent http://192.168.2.211 and possibly other ones in the future. Or should those be localhost 127.0.0.0? I don’t know about this stuff.

Is there an easier way to allowing Collabora COOL accepting different hosts?

Good question; you can use a regexp - but it matches just the hostname - so nextexplorere.mydomain.tld should match ‘.*\.mydomain\.tld’

The complexity of groups is to handle the world of single servers being mapped to multiple domain-names in interesting ways IIRC.

Hope that helps; and glad you got up & running fast :slight_smile:

Thanks for this @mmeeks.
What’s that with the extra slashes?

And how can I arrange that the internal instances of sync-in and nextexplorer are accepted as wopi hosts? Because, since I’ve edited the coolwsd.xml with mode=groups they’re refused.