docker-collabora-online icon indicating copy to clipboard operation
docker-collabora-online copied to clipboard

Allow wildcard for host (<alias>)

Open bohwaz opened this issue 2 years ago • 0 comments

I tried multiple ways to enable group to be able to use .*.domain.tld as allowed hosts, but nothing worked.

- ALLOWED_HOSTS=.*.domain.tld

Nope, as described in issue https://github.com/tiredofit/docker-collabora-online/issues/21

- aliasgroup1=https://.*.domain.tld:443/

As described in Collabora docs: https://sdk.collaboraonline.com/docs/installation/CODE_Docker_image.html

But didn't work either.

Finally I tried setting the option directly:

- EXTRA_OPTIONS=-o:storage.wopi.alias_groups.group.alias=https://.*.domain.tld:443/

Nothing either.

Every time: the first host would work, but not the others.

I could get it to work by adding the alias to coolwsd.xml directly: <alias>https://.*\.domain\.tld:443</alias>

So can we please get an option to set an alias easily from the environment config?

Thanks :)

Also, can you please set up options to sponsor you one-time? I represent a NGO and don't have a credit card, so it's much easier if I can pay once a year, and fill all the paperwork to get a refund only once. Thanks :)

bohwaz avatar Dec 19 '22 19:12 bohwaz