i did set up onlyoffice docker, the website says "
Thank you for choosing ONLYOFFICE!
Document Server is running"
its a completly different URL, not like ādocument.mycloud.comā. When i go to settings, then i type my url, it says: Error when trying to connect (Host violates local access rules)
It uses HTTPS with nginx proxy lets encrypt. both are using it. What do i have to do ?
i added
āallow_local_remote_serversā => true,
now i get
Error when trying to connect (cURL error 7: Failed to connect to 127.0.0.1 port 8888: Connection refused (see libcurl - Error Codes))
the docker runs -p 127.0.0.1:8888:80 my conf.d/docserver.conf is reverse proxying 127.0.0.1:8888 with TLS 1.3, my nextcloud uses tls 1.2 if that might be importantā¦
Iāve got the same error on 2 or 3 NC instances, all also running Docker Compose and OnlyOffice running on the same server (accessing it via /ds-vpath/ on http://onlyoffice-document-server) and an nginx reverse proxy (terminating https)ā¦ I also have 'allow_local_remote_servers'=>true but Iām also getting the āHost violates local access rulesā error.
On one server, it seems (inexplicably) to allow access to OnlyOffice. Iām trying to work out whatās different between them.
I note also that on all 3 NC instances, I get a series of āblockedā requests for each page load, involving a bunch of js files like main.js, notifications.js, client.js, etc. apparently due to CSP (Content Security Policy). Oddly, this doesnāt seem to be completely breaking things (at least not on the instance where OO is accessible)ā¦
I still have no new info about that, i am currently using Collabora/code docker image with Apache and Nginx Reverse Proxy to because i dont like the letsencryypt companion ssl configurations. Works good there.
Same problem here. Got Error when trying to connect (Host violates local access rules) and after setting 'allow_local_remote_servers'=>true I get Error when trying to connect (cURL error 7: Failed to connect to documentserver port 443: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://documentserver/healthcheck)
Got it. In the default setup the documentserver doesnāt listen for https requests. You have to setup a certificate which then enables https on the documentserver. You can see how to do it in the Readme Docker Hub