Loolwsd (no docker) behind apache2 reverse proxy - returns wrong URL

Hi @cnic023

Is it really necessary to configure two reverse proxies behind each other? Why not access the container on the Nextcloud server directly from the first reverse proxy via port 9080?

Somehow like this…

ProxyPass /loleaflet http://IP_NextcloudServer:9980/loleaflet retry=0
ProxyPassReverse /loleaflet http://IP_NextcloudServer:9980/loleaflet

I didn’t test this, but I guess this should work… Maybe this thread will help you…

https://help.nextcloud.com/t/collabora-nextcloud-on-different-server-than-reverse-proxy

In particular this post:

https://help.nextcloud.com/t/collabora-nextcloud-on-different-server-than-reverse-proxy/8168/14