Display in iframe on another site

NC 18.0.4

With Google docs if I get a share link I can display the doc in an iframe on a different site

With NC this doesn’t work. Why not? How can I make this basic functionality work?

I see this has been asked before for several years, but the answers are obscure and inconclusive and apply to earlier versions.

What exactly do I have to do to allow a (read-only) public share to a PDF doc or an office doc (using Community Document Server) to appear in an iframe elsewhere (on site https://mydomain.xyz/page


Im looking for the a solution as well. Im on NC19.01.