ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: try_files random


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: try_files random
  • From: Валентин Бартенев <ne@xxxxxxxx>
  • Date: Sat, 21 Jul 2012 02:22:18 +0400
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=vbart.ru; s=mail; h=Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:In-Reply-To:References:Date:Subject:To:From; bh=yOKWK4OeyUZ+Gff+iV3xQSFesvG5J44kvKSqAEp+Qg0=; b=OM9mfngJqkn119AhvxJf/0f6wxVLAnO0jB1T2jjeOT1iIPziqdnpiglK0IOQturNBCubM1nIYll6635J0CmQXtghZweNEyOmXoktW7+oMFx7zaGqBvqe83uSnj8DPjnAkjGJrr/8lbQD4HgE197Vxd/ojomc0TAAZBKp4y71XVjLXB0B9170SR6I3MJeF7V6Aj01B2AoUYdJQCRwp1Ta0Fx3tHHLTGhINHW9GbLImWmRXMzQ3Q0Y1p17UNL6H7RgN+rjKgKpalIhvsG4rZsQjwQDDIq0ry7HgoLo6h03qQ4TNxIuMDEGR8BYu+0eS+2w83WxBCtSXM6aM+wEJfvl/A==;
  • In-reply-to: <201207210219.40662.ne@vbart.ru>
  • References: <c7b71dada178873379f1f69f55755bab.NginxMailingListRussian@forum.nginx.org> <201207210219.40662.ne@vbart.ru>

On Saturday 21 July 2012 02:19:40 Валентин Бартенев wrote:
[...]
> 
>     split_clients "1$date_gmt$remote_addr" $v1 {
>         12.5%  /raid1;
>         12.5%  /raid2;
>         12.5%  /raid3;
>         12.5%  /raid4;
>         12.5%  /raid5;
>         12.5%  /raid6;
>         12.5%  /raid7;
>         12.5%  /raid8;
>     }
> 
>     split_clients "2$date_gmt$remote_addr" $v2 {
>         12.5%  /raid1;
>         12.5%  /raid2;
>         12.5%  /raid3;
>         12.5%  /raid4;
>         12.5%  /raid5;
>         12.5%  /raid6;
>         12.5%  /raid7;
>         12.5%  /raid8;
>     }
> 
>     ...
> 
>     split_clients "8$date_gmt$remote_addr" $v8 {
>         12.5%  /raid1;
>         12.5%  /raid2;
>         12.5%  /raid3;
>         12.5%  /raid4;
>         12.5%  /raid5;
>         12.5%  /raid6;
>         12.5%  /raid7;
>         12.5%  /raid8;
>     }
> 
> 
>     server {
>          location ~ ^/media(.+)$ {
>              try_files $v1$1 $v2$1 $v3$1 $v4$1 $v5$1 $v6$1 $v7$1 $v8$1
>                        /ssd1$1 =404;
>          }
>     }
> 

Ай нет, что-то я ступил, так работать не будет.

--
Валентин Бартенев

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.