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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Michael S. (Guest)
on 2009-04-14 03:40
(Received via mailing list)
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?
Cliff W. (Guest)
on 2009-04-14 05:37
(Received via mailing list)
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
This topic is locked and can not be replied to.