# 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:** 4

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [September 8, 2016, 6:03pm UTC](https://meta.discourse.org/t/add-a-custom-http-header-to-requests-made-to-your-discourse/26439/4 "2016-09-08T18:03:29Z")

</div>

Unfortunately, I think you need to add nginx’s “more headers” module. So that would be

```
exec: apt install nginx-extras

```

followed by the nginx.conf replace rule with a “more\_remove\_header” directive, I believe.

---

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