How to install 2 owncloud instance on same server nginx and letsencrypt

I would like to know if it’s possible to run 2 instance of owntcloud… like version 10 and 9 or a : 1 owncloud and 1 nextcloud. But on the same server with nginx and letsencrpyt.
So far the only tuto i found that work for just a simple install is :

But not sure if this can be done… as i got issues with the certbot also.


i think you could manually install ownCloud 1 to e.g. /var/www/html/owncloud1 and the second one to /var/www/html/owncloud2. Afterwards the web server configuration probably needs to be updated to map two URLs or even vhosts for this directory structure.