I have a big problem that I cannot solve about Nextcloud and Collabora integration.
I don’t even know if it is a Nextcloud-related problem or a Collabora pb.
But for me, Collabora is impossible to use.
Here it is.
Say we have a nextcloud Docker container and a Collabora Docker container.
Nextcloud (cloud.example.com) is behind a reverse-proxy as is the coll.example.com which is Collabora behind the same Nginx.
Independently each works well.
In the Nextcloud administrator interface for Collabora I typed as link to the Collabora service:
https://coll.example.com (and the light is green).
In the docker-compose.yml for Collabora here is an extract:
- domain=cloud.example.com
- server_name=https:\/\/coll.example.com
- net.proto=IPv4
- ssl.enable=false
- ssl.termination=false
- username=admin
- password=
BTW, none of net.proto, ssl.enable, ssl.termination works!
Those have to be set up after the starting of the container via a
docker cp loolwsd.xml
If I do not put \ before / collabora doesn’t start invoking a error on line 1 col 0 for loolwsd.xml.
Well, finaly I have the correct loolwsd.xml set as you see thereafter:
<server_name desc="External hostname:port of the server running loolwsd. If empty, it's derived from the request (please set it if this doesn't work). Must be specified when behind a reverse-proxy or when the hostname is not reachable directly." type="string" default="">https://coll.example.com</server_name>
OK?
Well, so the link between Nextcloud and Collabora cannot work because of a stupid http: that something inserts BEFORE the correct url. Is this Nextcloud, is this the Collabora plugin for Nextcloud or is this Collabora itself?
Content Security Policy: The page's settings blocked the loading of a resource at [http://https//coll.example.com/loleaflet/a5d14f2/loleaflet.htm…qn5i552&title=tt.odt&lang=fr&closebutton=1&revisionhistory=1](http://https//coll.blas.info/loleaflet/a5d14f2/loleaflet.html?WOPISrc=https%3A%2F%2Fcloud.example.com%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F4553_occhcqn5i552&title=tt.odt&lang=fr&closebutton=1&revisionhistory=1) ("form-action").
Where does this http:// come from?
And why https doesn’t have the : any more?
Answer if you can but I’m fed up with this kind of bullshit.
Thank you,
db