# Discourse not shown in iframe

**URL:** <https://meta.discourse.org/t/discourse-not-shown-in-iframe/26970>\
**Category:** Product Support\
**Tags:** unsupported-install\
**Created:** [30 במרץ,‏ 2015,‏ 1:45am UTC](https://meta.discourse.org/t/discourse-not-shown-in-iframe/26970 "2015-03-30T01:45:10Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![dubeydeepak](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dubeydeepak/32/70085_2.png) [@dubeydeepak](https://meta.discourse.org/u/dubeydeepak)\
**Post date:** [31 במרץ,‏ 2017,‏ 8:23am UTC](https://meta.discourse.org/t/discourse-not-shown-in-iframe/26970/9 "2017-03-31T08:23:42Z")

</div>

> [@elberet](#):
>
> in a frame because it set ‘X-Frame-Options’ to 'SAMEORI

Just need to add below points inside env Tag, & it will help in fixing issue **Xframe option with sameorigin**. works for me. 😀

**env:**  
UNICORN\_WORKERS: 4  
DISCOURSE\_ENABLE\_CORS: true\*\*  
DISCOURSE\_CORS\_ORIGIN: ‘\*’

---

_[View the full topic](https://meta.discourse.org/t/discourse-not-shown-in-iframe/26970)._
