NC 24.0.3 with Collabora server "loops" to itself

Hi,
I am running on Ubuntu 22.04.1 LTS Nextcloud 24.0.3, with Ver 15.1 Distrib 10.6.7-MariaDB and Apache/2.4.52. Only issue visible is when tried to install Collabora Office.

Collabora installation on the same physical server seems to be working as expected.

But when enabled officeonline: 1.1.3 or richdocuments: 6.1.1, servers is immediately overloaded.
The only solution is always “sudo -u www-data php8.0 occ app:disable richdocuments” . It is so fast, that no configuration is possible.

It is visible, that there is traffic from server to server:

tcp        0      0 192.168.168.168:50300    192.168.168.168:443      ESTABLISHED
tcp        0      0 192.168.168.168:50266    192.168.168.168:443      ESTABLISHED
tcp        0      0 192.168.168.168:50280    192.168.168.168:443      ESTABLISHED
tcp        0      0 192.168.168.168:50298    192.168.168.168:443      ESTABLISHED
tcp        0      0 192.168.168.168:50270    192.168.168.168:443      ESTABLISHED

In logging is visible:

Warning	core	Trusted domain error. "192.168.168.168" tried to access using "192.168.168.168" as host.	
2022-08-02T22:12:19+0200
Warning	core	Trusted domain error. "192.168.168.168" tried to access using "192.168.168.168" as host.	
2022-08-02T22:12:19+0200
Warning	core	Trusted domain error. "192.168.168.168" tried to access using "192.168.168.168" as host.	
2022-08-02T22:12:17+0200

The same error is visible, then I am trying to access https://whatever.mynextcloud.com

Apache configuration could be found in https://pastebin.com/ZG8HSKB4 .

Have you encounter similar behavior?
Perhaps I am having wrong configuration of Apache.

Note: I have tried to run Collabora Online - Built-in CODE Server, but I had problem with stability, server kept disconnecting and also I had struggled with language configuration.

Thank you for any hint.

Issue has been fixed. Wrong configuration sometime in past. Fixed by command sudo -u www-data php8.0 occ config:app:set richdocuments wopi_url --value=https://office.mynextcloud.com:443. Now integration with Collabora server works almost as expected.

Thank you.