tiredofit / docker-collabora-online

Dockerized Online Office Suite with customizable options
MIT License
80 stars 27 forks source link

Allow wildcard for host (<alias>) #25

Open bohwaz opened 1 year ago

bohwaz commented 1 year ago

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 :)