I canāt work this out. I have got Collabora working from docker HTTPS but OnlyOffice wont work.
I have Centos 7, separate domain on the same machine for collabora and onlyoffice.
I had OnlyOffice working through http browser, but canāt use that in my NextCloud because it is HTTPS only (I assume that is the problem anyway, from āONLYOFFICE cannot be reached. Please contact adminā )
Copy certs and various other combinations wouldnāt work for me. I tried using Collabora proxy directives but didnāt really know what I was doing, didnāt work.
I really only need the same kind of instructions as the collabora, for Centos 7, docker, apache and https with a valid cert (Letās Encrypt).
Some guides say to use /app/ or /opt/ but neither works I think due to permission errors. Putting the DocumentServer directory in /home/APACHE-USER/ is what worked. I am using Virtualmin which puts all the virtual servers into /home/someuser/
So once I did that and copied the .csr and .key files from /home/USER/ into /home/USER/DocumentServer/data/certs/ and rename them to onlyoffice.csr onlyoffice.key then it loaded through the https:// address. Once Nextcloud OnlyOffice config had the right address and port it all worked fine without any proxy directives or other redirects.
Also be aware that mounting the lib directory didnāt work. I can only mount /data/ and /log/
I only wish OnlyOffice would allow guest editing of documents via public links in the same way collabora does. And also open .odt without conversion.
So my complete working command is something like this