Embedding Live Chat into Frameset on different Domain CSP Error

Description

Rocket.chat is setup on rocket.example1.com.
Live chat is embedded directly on www.example1.com and it functions properly.
Live chat is embedded within a frameset on example2.com I am getting the following CSP error:

Refused to frame 'https://rocket.example1.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".

I tried adding the domains in the configuration and on the NGINX reverse proxy on the rocket.example1.com server.

Server Setup Information

  • Version of Rocket.Chat Server: 5.0.6
  • Operating System: Ubuntu 20.04
  • Deployment Method: Snap
  • Number of Running Instances: 1
  • NodeJS Version: 14.19.3
  • MongoDB Version: 4.4.15
  • Proxy: nginx