Two settings would be required if you wanted to, without restriction, embed Discourse in iframes:
-
Un-check the CSP restrictions in Settings
-
Enable a hidden site setting
allow_embedding_site_in_an_iframe
cd /var/discourse
./launcher enter app
rails c
SiteSetting.allow_embedding_site_in_an_iframe=true
exit
exit