# Ngx\_headers\_more v0.09: wildcard support in more\_clear\_headers

**URL:** <https://www.ruby-forum.com/t/ngx-headers-more-v0-09-wildcard-support-in-more-clear-headers/189524>\
**Category:** NGINX\
**Created:** [June 2, 2010, 2:08pm UTC](https://www.ruby-forum.com/t/ngx-headers-more-v0-09-wildcard-support-in-more-clear-headers/189524 "2010-06-02T14:08:21Z")\
**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 2, 2010, 2:08pm UTC](https://www.ruby-forum.com/t/ngx-headers-more-v0-09-wildcard-support-in-more-clear-headers/189524/1 "2010-06-02T14:08:21Z")

</div>

Hi, folks!

I’m delighted to announce the v0.09 release of the ngx\_headers\_more  
module:

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

```

This module allows you to add, set, or clear any output or input  
headers that you specify. This is an enhanced version of the standard  
headers module because it provides more utilities like resetting or  
clearing “builtin headers” like Content-Type, Content-Length, and  
Server.

This release features the wildcard (\*) support in the  
more\_clear\_headers directive. For example, the following directive  
effectively clears any output headers starting by “X-Hidden-”:

```
more_clear_headers 'X-Hidden-*';

```

Thanks our new contributor Bernd Dorn for implementing this 🙂

See the complete change log for this version if you’re interested:

```
http://wiki.nginx.org/NginxHttpHeadersMoreModule#v0.09

```

Also, in the previous version, i.e., v0.08, Bernd Dorn also introduced  
the “-r” option to the more\_set\_input\_headers directive to replace the  
value of the input header specified _if and only if_ that header  
actually exists.

You can find the complete documentation of this module on the nginx wiki  
site:

```
http://wiki.nginx.org/NginxHttpHeadersMoreModule

```

Enjoy!

Best,  
-agentzh
