Wildcard Domain for CODE Server Docker Image

I have multiple Nextcloud instances all under *.drtech.cc.

Currently I have one nextcloud instance hosted at drive.drtech.cc, and a Collabora CODE Server having
everything works fine, documents are loaded and edited flawlessly.

I’d like to use this single Collabora CODE server hosted at docs.drtech.cc to serve online editing capabilities to the multiple NextCloud instances, however if I try to set
connectivity breaks and no single nextcloud instance is able to communicate with the CODE server.

How do I put wildcards in the environment variable domain ?

Currently running as:
docker run -t -d -p 9980:9980 -e "domain=drive\\.drtech\\.cc" -e "username=admin" -e "password=password" -e "extra_params=--o:ssl.enable=false --o:ssl.termination=true" --restart always collabora/code