we have one Server for multiple clients and their domains. They all use Nextcloud with Contatcs/Calendars which offers CalDAV/CardDAV. To seperate them we installed multiple Nextcloud Instances in multiple (sub)Domains VHosts in this form: cloud.client1.domain, cloud.client2.domain a.s.o.
To let the clients use ActiveSync for their mobile devices we also installed z-push multiple times for being able to configure multiple, independent CalDAV/CardDAV backends, as the config has to point to the correct vhost domain name regarding the “SERVER_NAME” config variable so the clients are directed to their correct Nextcloud Backend.
This installation works as expected.
First question: Is it correct, that this setup cannot be achieved with just one instance of z-push cause of the fix server name variable in the CalDAV / CardDAV Backend config? Or can the SERVER_NAME var be set to the value, the mobile device sends?
Second question: As of Z-Push 2.4 there are no tarballs for installation but it is recommended to install the Distro Package from the repositories. In this case, there is no way to install z-push multiple times with different configurations on the same server, is that right?
Thx in advance for your thoughts