On 05.12.2010, at 23:06, Kirill A. Korinskiy wrote:
> 2010/12/5 Aleksandr Sytar <
sytar.alex@xxxxxxxxx>
>>
>>> if ($host ~ www\.(.*)) { set $p $1; }
>>> if ($p ~* ^([a-z0-9-\.]+)\.
site.ru$) { set $p
site.ru; }
>>
>> ?????????? ??????? ?? ?????? ????? ?? ??????? ? ???????
>> ??????????????????. ??? ??????? ?????????? ??? ?????? ??????.
>>
>>
> ? ?????? ?????????? ?????, ???????
>
> --
> wbr, Kirill