For the life of me I cannot find reference to "if" condition syntax


#1

What is equals to, not equals to, regex, etc, etc.

*~

!=
^~
etc etc.

Specifically for the “if” statement.

i.e.

if ($remote_addr NOT EQUALS TO 1.2.3.4) {
}

is that an option?


#2

On Mon, 2009-04-13 at 16:33 -0700, Michael S. wrote:

What is equals to, not equals to, regex, etc, etc.

*~

!=
^~
etc etc.

Specifically for the “if” statement.

http://wiki.nginx.org/NginxHttpRewriteModule#if

Cliff