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

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

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

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?21,275920,275920#msg-275920

_______________________________________________
nginx-ru mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-ru

Ответить