# Add a custom HTTP header to requests made to your Discourse

**URL:** <https://meta.discourse.org/t/add-a-custom-http-header-to-requests-made-to-your-discourse/26439>\
**Category:** Sysadmins\
**Tags:** how-to\
**Created:** [March 17, 2015, 3:41pm UTC](https://meta.discourse.org/t/add-a-custom-http-header-to-requests-made-to-your-discourse/26439 "2015-03-17T15:41:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![David\_Scharf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david_scharf/32/121389_2.png) [@David\_Scharf](https://meta.discourse.org/u/David_Scharf)\
**Post date:** [September 8, 2016, 7:35am UTC](https://meta.discourse.org/t/add-a-custom-http-header-to-requests-made-to-your-discourse/26439/3 "2016-09-08T07:35:34Z")

</div>

Ist there a way to replace headers this way? My discourse installation prohibits iFrame embedding via the x-frame-options http header. If I try to change it this way, it will only add a second conflicting x-frame-options header. I also could not find any references to the default header in the discourse.conf of my nginx, but I don’t really know may way around there. Thanks!

---

_[View the full topic](https://meta.discourse.org/t/add-a-custom-http-header-to-requests-made-to-your-discourse/26439)._
