Collabora on nginx-Nextcloud: Saved with error

Hi,

I tried to install collabora following the official documentation (https://nextcloud.com/collaboraonline/) on my nginx-driven nextcloud.

During the third configuration step (“Admin -> Collabora Online -> Specify the server you have setup before”) I get an error message:

Saved with error: Collabora Online should use the same protocol as the server installation.

I use Nextcloud with Letsencrypt and so I used “https://” with Collabora as well.

Nginx is configured as a reverse proxy to listen on port 443 and redirects incoming connections to 127.0.0.1 where Nextcloud actually runs.

Any ideas where things go wrong, or at least, where (in which log) to look for errors?

The in the nginx.conf the Collabora section looks like this:

    # static files
    location ^~ /loleaflet {
        proxy_pass https://localhost:9980;
        proxy_set_header Host $http_host;
    }
    # WOPI discovery URL
    location ^~ /hosting/discovery {
        proxy_pass https://localhost:9980;
        proxy_set_header Host $http_host;
    }
    # main websocket
    location ~ ^/lool/(.*)/ws$ {
        proxy_pass https://localhost:9980;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_set_header Host $http_host;
        proxy_read_timeout 36000s;
    }
    # download, presentation and image upload
    location ~ ^/lool {
        proxy_pass https://localhost:9980;
        proxy_set_header Host $http_host;
    }
    # Admin Console websocket
    location ^~ /lool/adminws {
        proxy_pass https://localhost:9980;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_set_header Host $http_host;
        proxy_read_timeout 36000s;
    }
1 Like