Could not establish connection to the Collabora Online server

Could not establish connection to the Collabora Online server,
if you click on the link you get a proposal how to fix with the
+/richdocumentscode/proxy).php … (?:$|/) entry
Tried to follow the link but either the nextcloud.conf re teh path to where the conf file lies are different.
I found the nextloudl.conf below my personal domain. is this the right place to edit.
But the line where I find looks different to what in the solution is shown!?
So if this is the solution can you please tell me in whicht directory which file is how to modify in terms of yunohost/mydomain/… .conf for the internal collabora Online Server of Nextcloud
here is what i find searching for nextloud.conf:
root@mydomain:~# find / -iname nextcloud.conf find: ‘/proc/17097’: Datei oder Verzeichnis nicht gefunden
/etc/nginx/conf.d/mydomain.nohost.me.d/nextcloud.conf
/etc/fail2ban/jail.d/nextcloud.conf
/etc/fail2ban/filter.d/nextcloud.conf
/etc/php/8.1/fpm/pool.d/nextcloud.conf
root@mydomain:~#

this portion is in the mextcloud.conf in mydomain sub folder
rewrite ^/nextcloud/(?!index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|oc[ms]-provider/.+|.+/richdocumentscode/proxy) /nextcloud/index.php$request_uri;
fastcgi_split_path_info ^(.+?.php)(/.*)$;
set $path_info $fastcgi_path_info;
try_files $fastcgi_script_name =404;
include fastcgi_params;

Seems to have the fix, so it seems not to missing and the cause

error messages appeard in the logs:
1.
[index] Error: Exception: Call to a member function xpath() on bool in file ‘/var/www/nextcloud/apps/richdocuments/lib/WOPI/Parser.php’ line 51 at <>

  1. /var/www/nextcloud/lib/private/AppFramework/App.php line 172
    OC\AppFramework\Http\Dispatcher->dispatch()
  2. /var/www/nextcloud/lib/private/Route/Router.php line 298
    OC\AppFramework\App::main()
  3. /var/www/nextcloud/lib/base.php line 1047
    OC\Route\Router->match()
  4. /var/www/nextcloud/index.php line 36
    OC::handleRequest()

POST /nextcloud/index.php/apps/richdocuments/ajax/admin.php
from 193.159.107.52 by majestix at 2023-01-29T23:00:32+00:00

[PHP] Error: Error: simplexml_load_string(): ^ at /var/www/nextcloud/apps/richdocuments/lib/WOPI/Parser.php#47 at <>

  1. <>
    OC\Log\ErrorHandler::onError()
  2. /var/www/nextcloud/apps/richdocuments/lib/WOPI/Parser.php line 47
    simplexml_load_string()
  3. /var/www/nextcloud/apps/richdocuments/lib/Controller/SettingsController.php line 197
    OCA\Richdocuments\WOPI\Parser->getUrlSrc()
  4. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 225
    OCA\Richdocuments\Controller\SettingsController->setSettings()
  5. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 133
    OC\AppFramework\Http\Dispatcher->executeController()
  6. /var/www/nextcloud/lib/private/AppFramework/App.php line 172
    OC\AppFramework\Http\Dispatcher->dispatch()
  7. /var/www/nextcloud/lib/private/Route/Router.php line 298
    OC\AppFramework\App::main()
  8. /var/www/nextcloud/lib/base.php line 1047
    OC\Route\Router->match()
  9. /var/www/nextcloud/index.php line 36
    OC::handleRequest()

POST /nextcloud/index.php/apps/richdocuments/ajax/admin.php
from 193.159.107.52 by majestix at 2023-01-29T23:00:32+00:00

[PHP] Error: Error: simplexml_load_string(): ^ at /var/www/nextcloud/apps/richdocuments/lib/WOPI/Parser.php#47 at <>

  1. <>
    OC\Log\ErrorHandler::onError()
  2. /var/www/nextcloud/apps/richdocuments/lib/WOPI/Parser.php line 47
    simplexml_load_string()
  3. /var/www/nextcloud/apps/richdocuments/lib/Controller/SettingsController.php line 197
    OCA\Richdocuments\WOPI\Parser->getUrlSrc()
  4. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 225
    OCA\Richdocuments\Controller\SettingsController->setSettings()
  5. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 133
    OC\AppFramework\Http\Dispatcher->executeController()
  6. /var/www/nextcloud/lib/private/AppFramework/App.php line 172
    OC\AppFramework\Http\Dispatcher->dispatch()
  7. /var/www/nextcloud/lib/private/Route/Router.php line 298
    OC\AppFramework\App::main()
  8. /var/www/nextcloud/lib/base.php line 1047
    OC\Route\Router->match()
  9. /var/www/nextcloud/index.php line 36
    OC::handleRequest()

POST /nextcloud/index.php/apps/richdocuments/ajax/admin.php
from 193.159.107.52 by majestix at 2023-01-29T23:00:32+00:00
4.
[PHP] Error: Error: simplexml_load_string(): Entity: line 68: parser error : Premature end of data in tag body line 36 at /var/www/nextcloud/apps/richdocuments/lib/WOPI/Parser.php#47 at <>

  1. <>
    OC\Log\ErrorHandler::onError()
  2. /var/www/nextcloud/apps/richdocuments/lib/WOPI/Parser.php line 47
    simplexml_load_string()
  3. /var/www/nextcloud/apps/richdocuments/lib/Controller/SettingsController.php line 197
    OCA\Richdocuments\WOPI\Parser->getUrlSrc()
  4. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 225
    OCA\Richdocuments\Controller\SettingsController->setSettings()
  5. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 133
    OC\AppFramework\Http\Dispatcher->executeController()
  6. /var/www/nextcloud/lib/private/AppFramework/App.php line 172
    OC\AppFramework\Http\Dispatcher->dispatch()
  7. /var/www/nextcloud/lib/private/Route/Router.php line 298
    OC\AppFramework\App::main()
  8. /var/www/nextcloud/lib/base.php line 1047
    OC\Route\Router->match()
  9. /var/www/nextcloud/index.php line 36
    OC::handleRequest()

POST /nextcloud/index.php/apps/richdocuments/ajax/admin.php
from 193.159.107.52 by majestix at 2023-01-29T23:00:32+00:00