December 13, 2010 02:30PM
On Mon, Dec 13, 2010 at 02:23:56PM -0500, agz wrote:

> Разобрался. Пересобрал анонсер с
> большим backlog - уже целые сутки полет
> нормальный, в логах тишина...
>
> Еще есть вопрос :)
>
> if ($query_string = "peer_id=AZ2500") {
> return 503;
> }
> if ($query_string = "peer_id=-TR0005-") {
> return 503;
> }
> if ($query_string = "peer_id=exbc") {
> return 503;
> }
>
> Как это все объединить в одном
> выражении?

map $arg_peer_id $forbidden {
default 0;
AZ2500 1;
-TR0005- 1;
exbc 1;
}

server {
location /... {
if ($forbidden) {
return 503;
}
}


--
Игорь Сысоев
http://sysoev.ru

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

nginx+xbt tracker

agz December 03, 2010 09:06AM

Re: nginx+xbt tracker

Roman Sokolov December 03, 2010 11:04AM

Re: nginx+xbt tracker

Oleg Motienko December 03, 2010 02:46PM

Re: nginx+xbt tracker

agz December 03, 2010 05:16PM

Re: nginx+xbt tracker

xpahos@gmail.com December 03, 2010 05:34PM

Re: nginx+xbt tracker

agz December 05, 2010 01:29PM

Re: nginx+xbt tracker

agz December 08, 2010 02:40PM

Re: nginx+xbt tracker

Sergey Shepelev December 08, 2010 03:04PM

Re: nginx+xbt tracker

agz December 08, 2010 03:08PM

Re: nginx+xbt tracker

agz December 08, 2010 03:54PM

Re: nginx+xbt tracker

agz December 08, 2010 04:47PM

Re: nginx+xbt tracker

Sergey Shepelev December 08, 2010 03:24PM

Re: nginx+xbt tracker

Vladimir Sopot December 08, 2010 03:38PM

Re: nginx+xbt tracker

Igor Sysoev December 08, 2010 04:08PM

Re: nginx+xbt tracker

Igor Sysoev December 08, 2010 04:10PM

Re: nginx+xbt tracker

Gmail December 10, 2010 03:34AM

Re: nginx+xbt tracker

agz December 11, 2010 04:52AM

Re: nginx+xbt tracker

Igor Sysoev December 11, 2010 05:10AM

Re: nginx+xbt tracker

Igor Sysoev December 11, 2010 05:14AM

Re: nginx+xbt tracker

agz December 11, 2010 05:56AM

Re: nginx+xbt tracker

agz December 11, 2010 06:05AM

Re: nginx+xbt tracker

agz December 11, 2010 06:25AM

Re: nginx+xbt tracker

Igor Sysoev December 11, 2010 06:00AM

Re: nginx+xbt tracker

Igor Sysoev December 11, 2010 06:16AM

Re: nginx+xbt tracker

agz December 12, 2010 10:18AM

Re: nginx+xbt tracker

agz December 13, 2010 02:23PM

Re: nginx+xbt tracker

Igor Sysoev December 13, 2010 02:30PM

Re: nginx+xbt tracker

agz December 13, 2010 02:41PM

Re: nginx+xbt tracker

Igor Sysoev December 13, 2010 02:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 125
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready