nginx-0.9.0

David Yu david.yu.ftw at gmail.com
Mon Nov 29 22:55:32 MSK 2010


On Tue, Nov 30, 2010 at 3:40 AM, Igor Sysoev <igor at sysoev.ru> wrote:

> On Tue, Nov 30, 2010 at 12:39:17AM +0800, David Yu wrote:
>
> > On Mon, Nov 29, 2010 at 11:36 PM, Igor Sysoev <igor at sysoev.ru> wrote:
> >
> > > Changes with nginx 0.9.0                                         29 Nov
> > > 2010
> > >
> > >    *) Feature: the "keepalive_disable" directive.
> > >
> > >    *) Feature: the "map" directive supports variables as value of a
> > >       defined variable.
>
> map $one      $two {
>    default   $three;    # $three
>    1         $four;     # $four
>    ...
> }
>
> > >    *) Feature: the "map" directive supports empty strings as value of
> the
> > >       first parameter.
>
> map $one      $two {
>    ""        none;     # ""
>    ...
> }
>
> > >    *) Feature: the "map" directive supports expressions as the first
> > >       parameter.
>
> map "$one$some"  $two {
>    ...
> }
>

Thanks!

>
> > Are there any examples using the new map features? (couldn't find it in
> > http://wiki.nginx.org/HttpMapModule).
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



-- 
When the cat is away, the mouse is alone.
- David Yu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20101130/4e9fa504/attachment-0001.html>


More information about the nginx mailing list