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

Michael Shadle mike503 at gmail.com
Tue Apr 14 03:33:15 MSD 2009


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?





More information about the nginx mailing list