Access Denied - apache2 server

Hello, so i followed the tutorial to install the collabora online to install on Apache2. However when i try to open the office documents online, Nextcloud brings me to a “Access Denied” error page. How do I fix this?

Check your virtual host configuration. I hade the same problem, but after i fixed my virtual host configuration it worked!

In which virtual host, the one of nextcloud or the one of libre office?