I have this scenery:
- Apache running as reverse proxy in server#1, listening 80 and 443, 192.168.100.3
- Apache running as http server in server #2 with a NC24 instance listening in port 80 and docker with latest onlyoffice doc server listening in port 8080->80 inside the docker, both http, 192.168.100.192
Test from any web browser:
https://mycloud.com works ok (NC instance)
https://myoffice.com works ok (Onlyoffice shows the welcome page)
My NC config file has:
‘trusted_proxies’ =>
array (
0 => ‘192.168.100.3’,
),
‘trusted_domains’ =>
array (
0 => ‘mycloud.com’,
1 => ‘192.168.100.192’,
),
‘onlyoffice’ => array ( ‘verify_peer_off’ =>TRUE, ),
‘overwriteprotocol’ => ‘https’
The OnlyOffice app inside NC has these settings (no errors saving them):
Onlyoffice Doc address: https://mycloud.com
Onlyoffice Doc address for internal request from the server: http://192.168.100.192:8080/
Server address for internal request from Onlyoffice docs: http://192.168.100.192/
When I create a document or open a old one the editor appears in the browser and after that a popup with this message:
‘unknow error, press ok to return to document list’
I can’t see any errors in /app/onlyoffice/documentserver/logs
Any idea?