multiple conditions in "if" statement?

Jeffrey 'jf' Lim jfs.world at gmail.com
Fri Jul 25 06:24:03 MSD 2008


On Fri, Jul 25, 2008 at 3:24 AM, Sean Allen <sean at monkeysnatchbanana.com>
wrote:

>
> On Jul 24, 2008, at 1:22 PM, Eden Li wrote:
>
>  Neither `&&` nor `||` are valid in nginx if statements.  This isn't
>> ruby.  See http://wiki.codemongers.com/NginxHttpRewriteModule#if for
>> more information.
>>
>
> I could have been all excited for a moment.
> && and || in if statements would make my conf files so much easier to
> maintain.


yeah I got excited. For a while too. Until i tried it :/ So i'm assuming
there's no work, or no plan for this atm?

-Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080725/d142e977/attachment.html>


More information about the nginx mailing list