Onlyoffice don't allow Nextlcoud to create file

Hi,

I installed Nextcloud on a server 1 in Apache and Onlyoffice on a server 2 in Nginx.
The 2 servers runs correctly and I added the onlyoffice application into the Nextcloud.

Now I can create Onlyoffice files into my Nextcloud but I can’t open them.
There is nothing in log files, just invalid credentials of some users.

Here is the error message :
image

Here is the Onlyoffice parameters :

image

Here is my config.php in the Nextcloud :

<?php
$CONFIG = array (
  'instanceid' => 'secret',
  'passwordsalt' => 'secret',
  'secret' => 'secret',
  'trusted_domains' =>
  array (
    0 => 'cloud2.mydomain',
    1 => 'onlyoffice.mydomain',
  ),
  'datadirectory' => '/datadirectory',
  'dbtype' => 'pgsql',
  'version' => '22.2.0.2',
  'overwrite.cli.url' => 'https://cloud2.mydomain',
  'dbname' => 'mydbname',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'mydbuser',
  'dbpassword' => 'mydbpwd',
  'installed' => true,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'updater.secret' => 'secret',
  'updater.release.channel' => 'stable',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
);

Thanks for your help