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.
F5a6ed477b109fe6acc11a5a8f87e7e8?d=identicon&s=25 Michael Shadle (Guest)
on 2009-04-14 01: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?
2e321cc0efe9422d37165e922298494e?d=identicon&s=25 Cliff Wells (Guest)
on 2009-04-14 03:37
(Received via mailing list)
On Mon, 2009-04-13 at 16:33 -0700, Michael Shadle 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.