The "headers_more" module: Set and clear output headers...more than "add"!

agentzh agentzh at
Wed Nov 18 05:18:26 MSK 2009

On Tue, Nov 17, 2009 at 6:00 PM, agentzh <agentzh at> wrote:
> One important TODO is to allow variables within the new headers'
> values. That's where "headers_more" is "less" than the standard
> "headers" module :P

Okay, I've just shamelessly stolen the implementation directly from
the standard "headers" module, and made variables-in-header-values
work as expected. For example,

    set $my_server 'Super Star Server';
    more_set_headers 'Server: $my_server';

This feature is now included in v0.02:

But another TODO comes into my mind: adding support for input headers!
Stay tuned :)

Have fun!

More information about the nginx mailing list