Welcome! Log In Create A New Profile

Advanced

Условие или

August 07, 2017 06:54PM
Подскажите как в этом примере сделать чтобы срабатывало или первое условие или второе
if ($request_method = GET) {
set $test A;
}

if ($http_cookie !~* "auth_token") {
set $test "${test}B";
}

if ($test = AB) {
return 418;
}
Subject Author Posted

Условие или

z6464 August 07, 2017 06:54PM

Re: Условие или

Seva Kobylin August 07, 2017 06:58PM

Re: Условие или

Vadim Lazovskiy August 08, 2017 02:40AM

Re: Условие или

Gena Makhomed August 08, 2017 03:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready