Install Collabora with Nextcloud on a sub folder

I just downloaded the Collabora image but I am stuck with the installation on a Nextcloud 15.x setup.

Based on the official install information to launch Collabora I need to run :
docker run -t -d -p -e ‘domain=cloud\.nextcloud\.com’ --restart always --cap-add MKNOD collabora/code
assuming as the nextcloud url.

But our setup is in

I tried to modify the entry as follow:
docker run -t -d -p -e ‘domain=www\.domain\.com/apps/cloud’ --restart always --cap-add MKNOD collabora/code

It did not generate any error on the CLI side but when trying to the collabora url I got send to the root folder with access to index.nginx-debian.html instead of Collabora itself.

Can someone help me out ?


afaik this is only relevant for server name and certificate.

you have to setup the nginx server for to redirect all traffic for to

something like this: