With nextcloud we can add external websites thanks to iframes : https://docs.nextcloud.com/server/12/admin_manual/configuration_server/external_sites.html

How can we enable X-Frame-Option for SAMEORIGIN ?

https://developer.mozilla.org/fr/docs/Web/HTTP/Headers/X-Frame-Options

Thanks