Refused to display XXX iframe because an ancestor violates the following Content Security Policy directive [Moodle]

I am trying to test my local development Moodle system with a remote (and public) nextcloud+collabora install, that works just fine as is.
(I followed these install instruction: https://nextcloud.com/collaboraonline/)
And installed the following Moodle plugin:
https://github.com/learnweb/moodle-mod_collabora
And tried to setup my localhost installed Moodle system with the remote NextCloud server (that includes a Collabora docker)

From within the Moodle, I am getting:
Refused to display β€˜https://collabora.my-public-domain/loleaflet/a96fdaa/loleaflet.html?WOPISrc=http://localhost/moodle-org/moodle_38_stable/mod/collabora/callback.php/wopi/files/651_0&access_token=2c042782c5f9&closebutton=1’ in a frame because an ancestor violates the following Content Security Policy directive: β€œframe-ancestors collabora.my-public-domain:* localhost:*”.