ONLYOFFICE / docker-onlyoffice-nextcloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to use OnlyOffice after adding SSL Certs to NGINX

tvollscw opened this issue · comments

After adding a SSL cert and forcing HTTPS through Cloudflare on my server, every time I try and enable my OnlyOffice settings, I get back a 'Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.)' error. I have tried modifying my config.php for nextcloud to include ''onlyoffice' => array ( 'verify_peer_off' => TRUE,'' but that does not remove my issue. I remember getting by this issue before hand by configuring something within my OnlyOffice docker container to ignore HTTPS (I believe), but can't find out a solution. Any ideas? Thanks!

Appeared to be an easier issue that all of the configuration changes that were suggested. Added the setting back for nginx to listen on port 80 and 443 (instead of exclusively 443) and it fixed the issue.