ReverseProxy not working

Hi guys,

i have installed Nextcloud on my server (apache) and on the same server collabora with docker.
I tried to install collabora now but it is not working. It seemes, the reverse proxy is not working.

If i type in the domain from collabora direct in the browser (office.dedyn.io), i get to the apache Default Page. I think this is wrong, correct? But with https … so SSL seams to be fine.

If i try to open a document in nextcloud. I see a gray circle loading infinity.

ServerName office.dedyn.io RewriteEngine on # Some rewrite rules in this file were disabled on your HTTPS site, # because they have the potential to create redirection loops.

RewriteCond %{SERVER_NAME} =office.dedyn.io

RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

SSLCertificateFile /etc/letsencrypt/live/office.dedyn.io/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/office.dedyn.io/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf

Encoded slashes need to be allowed

AllowEncodedSlashes NoDecode

Container uses a unique non-signed certificate

SSLProxyEngine On
SSLProxyVerify None
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName Off

keep the host

ProxyPreserveHost On

static html, js, images, etc. served from loolwsd

loleaflet is the client part of LibreOffice Online

ProxyPass /loleaflet https://127.0.0.1:9980/loleaflet retry=0
ProxyPassReverse /loleaflet https://127.0.0.1:9980/loleaflet

WOPI discovery URL

ProxyPass /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0
ProxyPassReverse /hosting/discovery https://127.0.0.1:9980/hosting/discovery

Main websocket

ProxyPassMatch “/lool/(.*)/ws$” wss://127.0.0.1:9980/lool/$1/ws nocanon

Admin Console websocket

ProxyPass /lool/adminws wss://127.0.0.1:9980/lool/adminws

Download as, Fullscreen presentation and Image upload operations

ProxyPass /lool https://127.0.0.1:9980/lool
ProxyPassReverse /lool https://127.0.0.1:9980/lool

Endpoint with information about availability of various features

ProxyPass /hosting/capabilities https://127.0.0.1:9980/hosting/capabilities retry=0
ProxyPassReverse /hosting/capabilities https://127.0.0.1:9980/hosting/capabilities

Did you try that workaround here? It solve the problem with the infinite loading circle.

Unfortunately i get no error message, so it seems to be another problem.
How can i check if it was installed correctly and the domain/url is working with reverse proxy?

When you can see the WOPI Discovery URL