# Support configuring X-Frame-Options in RDepot

**URL:** <https://support.openanalytics.eu/t/support-configuring-x-frame-options-in-rdepot/2707>\
**Category:** RDepot\
**Created:** [January 26, 2024, 12:54pm UTC](https://support.openanalytics.eu/t/support-configuring-x-frame-options-in-rdepot/2707 "2024-01-26T12:54:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SanderBK](https://support.openanalytics.eu/user_avatar/support.openanalytics.eu/sanderbk/32/929_2.png) [@SanderBK](https://support.openanalytics.eu/u/SanderBK)\
**Post date:** [January 26, 2024, 12:54pm UTC](https://support.openanalytics.eu/t/support-configuring-x-frame-options-in-rdepot/2707/1 "2024-01-26T12:54:17Z")

</div>

Hello,

I am trying to embed RDepot in an IFrame, but it appears that the application has `X-Frame-Options` set to `DENY`, which prevents the application from being displayed in an IFrame.

Is there a way to configure the `X-Frame-Options` for RDepot to allow it to be embedded in an IFrame?

Any help or guidance would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![jvanmalder](https://support.openanalytics.eu/letter_avatar_proxy/v4/letter/j/9e8a1a/32.png) [@jvanmalder](https://support.openanalytics.eu/u/jvanmalder)\
**Post date:** [September 4, 2024, 4:22pm UTC](https://support.openanalytics.eu/t/support-configuring-x-frame-options-in-rdepot/2707/2 "2024-09-04T16:22:58Z")

</div>

Hi,

I think this might be configurable in your nginx proxy, for example in the following block: [RDepot/docker/compose/proxy/rdepot.conf at 92dce1806ce351648767e94de71412d685bb36c8 · openanalytics/RDepot · GitHub](https://github.com/openanalytics/RDepot/blob/92dce1806ce351648767e94de71412d685bb36c8/docker/compose/proxy/rdepot.conf#L27-L36) - you could try adding `proxy_hide_header X-Frame-Options;`.

If that doesn’t work, then maybe replacing the configuration file `/etc/nginx/conf.d/default.conf` in the RDepot client (UI) container by volume mapping a local file or via a configmap (in a Kubernetes cluster) and adding `add_header X-Frame-Options "" always;` in the following block: [RDepot-client/nginx.conf at 4b217b1dc019dc2eacfc99fc654c4909339cec74 · openanalytics/RDepot-client · GitHub](https://github.com/openanalytics/RDepot-client/blob/4b217b1dc019dc2eacfc99fc654c4909339cec74/nginx.conf#L3-L7)

Hope this helps!
