Welcome! Log In Create A New Profile

Advanced

[ANNOUNCE] ngx_headers_more v0.09: wildcard support in more_clear_headers

agentzh
June 02, 2010 08:14AM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

[ANNOUNCE] ngx_headers_more v0.09: wildcard support in more_clear_headers

agentzh June 02, 2010 08:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 140
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready