LibreOffice Online / apache virtual host configuration

Hello.

I’m looking for an apache 2.4 expert, that can help to setup LibreOffice Online proxy in alternative way.

I run a drupal web site for which I have set up an apache 2.4 virtual https host. For this virtual host I have a public domain and a comodo certificate registered by namecheap.

virtual host for the drupal website:

<VirtualHost *:443>
	ServerName example.com
	ServerAlias www.example.com
	
	ServerAdmin webmaster@localhost

	DocumentRoot /path/to/example.com/drupal

	ErrorLog /path/to/example.com/logs/error.log
	CustomLog /path/to/example.com/logs/access.log combined

	SSLEngine on

	SSLCertificateFile	/etc/apache2/ssl/example.com.comodo.crt
	SSLCertificateKeyFile /etc/apache2/ssl/example.com.comodo.key
	SSLCertificateChainFile /etc/apache2/ssl.crt/comodo.chain.crt

	<FilesMatch "\.(cgi|shtml|phtml|php)$">
			SSLOptions +StdEnvVars
	</FilesMatch>
	<Directory /usr/lib/cgi-bin>
			SSLOptions +StdEnvVars
	</Directory>

	BrowserMatch "MSIE [2-6]" \
			nokeepalive ssl-unclean-shutdown \
			downgrade-1.0 force-response-1.0
	BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown

	# redirect www to non-www
	RewriteEngine On
	RewriteCond %{HTTP_HOST} !^$
	RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
	RewriteRule ^/?(.*) https://%1/$1 [R=301,L]

	# alias to owncloud server
	Alias /cloud "/path/to/example.com/nextcloud11"
	<Directory "/path/to/example.com/nextcloud11">
		Options Indexes FollowSymLinks
		AllowOverride All
		Require all granted			
	</Directory>

</VirtualHost>

So I can conect to the nextcloud server using the URL https://example.com/cloud and the url stays https://example.com/cloud (which would change if I use Redirect /cloud …

Now I would like to integrate/combine the LibreOffice Online proxy in a way that I can still connect to nextcloud to the alias /cloud …

Because I’m not an apache expert how can I integrate the SSLProxy* and ProxyPass* settings for LibreOffice Online to stay with the URL https://example.com/cloud

Any hints would be welcome!!

Kind regards, go4ncloud