multiple conditions in "if" statement?

Sean Allen sean at monkeysnatchbanana.com
Thu Jul 24 23:24:26 MSD 2008


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.







More information about the nginx mailing list