Nextcloud & Collabora docker installation. Error: Collabora Online should use the same protocol as the server installation


I am in the process of installing Nextcloud and Collabora with Docker. I use the following docker-compose file to do the job:

I haven’t done any further configuration.

When I start the Collabora Integration app and fill in the collabora url [as: https://collabora_subdomain.domain.xx], I get the following error:

Collabora Online should use the same protocol as the server installation

When I try to open a document I get:

Failed to load Collabora Online - please try again later

Where could the problem lay?


I had the same problem with a nextcloud instance in a docker container behind a reverse proxy which does the transport encryption. Try connecting directly to the container without connecting to the proxy and check the mark beside “accept self-signed certificats”.


Hi @kromsam, I’ll post this response in both places.

Here is a snippet from my /app/config/config.php, my assumption is you need to add the lines for overwritehost and overwriteprotocol. This is necessary if you wish to use the passwords app as well. Be sure to use your actual hostname for your nextcloud where I have used below. If setup properly there should be no reason to manually go around your letsencrpt certs.

$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'trusted_proxies' => 
  array (
    0 => '',
  'overwritehost' => '',
  'overwriteprotocol' => 'https',
  'apps_paths' => 
  array (

All the best,


Hey I have the same problem. I have installed it with the Compose file below.
If I open the office.domain.tdl, the Website from Collabora give me a request “Ok”.
But I can’t bind it in Nextcloud.

I have seen on my nextcloud.domain.tld that I get an error -->

{status: 0,…} message: "cURL error 6: Could not resolve host: office.domain.tld (see" status: 0

What can I do, to fix that?