Connecting to Collabora Online Server: Could not establish connection to the Collabora Online server

Your post is missing relevant information about were and how your reverse proxy is setup and how it’s configured, from the config if looks like collabora is expected to run on the same host as reverse proxy… what is about Nextcloud?

Most likely your systems can’t reach each other using proper https URI … Please carefully review this thread - and linked references - WOPI protocol requires some communications you might not have expected…