Opening documents fail because of content security policy violation

take a look at this wiki, likely it points you into right direction:

Nextcloud Collabora integration