# Ngx\_headers\_more v0.10: ability to remove a header completely

**URL:** <https://www.ruby-forum.com/t/ngx-headers-more-v0-10-ability-to-remove-a-header-completely/189732>\
**Category:** NGINX\
**Created:** [June 6, 2010, 2:41pm UTC](https://www.ruby-forum.com/t/ngx-headers-more-v0-10-ability-to-remove-a-header-completely/189732 "2010-06-06T14:41:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![agentzh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4da419/32.png) [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Post date:** [June 6, 2010, 2:41pm UTC](https://www.ruby-forum.com/t/ngx-headers-more-v0-10-ability-to-remove-a-header-completely/189732/1 "2010-06-06T14:41:03Z")

</div>

Hi, all

I’m happy to announce that the v0.10 release of ngx\_headers\_more has  
just landed:

```
http://github.com/agentzh/headers-more-nginx-module/tarball/v0.10

```

This module allows you to add, set, or clear any output or input  
header that you specify. Please see the full documentation for more  
details: [Headers More | NGINX](http://wiki.nginx.org/NginxHttpHeadersMoreModule)

> From this release, the more\_clear\_headers and more\_clear\_input\_headers  
> directives can remove a specified header _completely_.

In earlier releases, clearing out a header usually just clears the  
header’s value, not its key. For instance,

```
 more_clear_headers 'Server';

```

yields

```
Server:

```

in the response headers. Now, it’ll be erased completely.

Non-standard headers like X-Foo can be totally erased as well.

The same change applies to more\_clear\_input\_headers, where we can  
erase an input header in the request object before forwarding it to a  
content handler like “proxy\_pass” or “fastcgi\_pass”.

You’re very welcome to send bug report (if any!) or wishlist to us at

> **[Issues · openresty/headers-more-nginx-module](https://github.com/openresty/headers-more-nginx-module/issues)**
>
> Set, add, and clear arbitrary output headers in NGINX http servers - Issues · openresty/headers-more-nginx-module

Enjoy!  
-agentzh
