Nextcloud (snap 27.1.6) + Collabora Online

Hi everyone,

I’m trying to connect a nextcloud with a collabora online dedicated server.
Both are virtual machine on the same host, both on ubuntu 22.04.3 LTS

I’ve tried to connect nextcloud with the private IP of the collabora online server, but it didn’t work.

Both of these servers are behind a haproxy that is redirecting the url to the right machine. But the only information I’ve found about haproxy is this: Proxy settings — SDK https://sdk.collaboraonline.com/ documentation

but It’s not working. Here is my haproxy config

frontend https_front
    bind *:443 ssl crt /etc/haproxy/domain.tld.pem
    mode http
    acl host_collabora hdr(host) -i collabora.domain.tld
    use_backend backend_collabora if host_collabora
    http-response set-header Strict-Transport-Security "max-age=16000000; IncludeSubDomains; preload;"

backend backend_collabora
    mode http
    balance url_param WOPISrc check_post
    hash-type consistent
    server collabora_server 192.168.1.16:9980

I can access this URL of my collabora online server: https://collabora.domain.tld/browser/dist/admin/admin.html but when I configure nextcloud to connect my collabora online server, it’s not working and I can’t find the right logs to help me understand this problem.

Does anyone has already face that problem ?
Thanks a lot for your help

hi @fbst welcome to the forum :handshake:

this guide should be good starting point: Nextcloud Collabora integration

1 Like