Error: Collabora Online should use the same protocol as the server installation

maybe it is usefull for your problem.

description of my installation:

  • debian bullseye
  • Apache
  • php 8.0
  • nextcloud 24
    behind FireWall
  • OpnSense
    ReverseProxy based on apache with Let’s entcrypt (on Raspberry)

I had the same error “collabora should use the same protocol as the server” and solved this with the follow entry in the ReverseProxy config.

sorry, i can’t show you my config, because i am a new user and i am can post only four links ;(

i found this in (document-server-proxy/proxy-https-to-http.conf at master · ONLYOFFICE/document-server-proxy · GitHub) line 40 - 47

Best regards
Winux