<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=koi8-r">
<STYLE type="text/css"><!--
BODY {
  margin: 5px 5px 5px 5px;
  background-color: #FFFFFF;
}
/*----------Text Styles----------*/
HR { color: #000000}
BODY, TABLE /* Normal text */
{
 font-size: 9pt;
 font-family: 'Courier New';
 font-style: normal;
 font-weight: normal;
 color: #000000;
 text-decoration: none;
}
SPAN.RVTS1 /* Heading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #0000FF;
}
SPAN.RVTS2 /* Subheading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #000080;
}
SPAN.RVTS3 /* Keywords */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-style: italic;
 color: #800000;
}
A.RVTS4, SPAN.RVTS4 /* Jump 1 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
A.RVTS5, SPAN.RVTS5 /* Jump 2 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
SPAN.RVTS6
{
 font-size: 11pt;
 font-family: 'tahoma';
 font-weight: bold;
 color: #FFFFFF;
}
A.RVTS7, SPAN.RVTS7
{
 font-size: 11pt;
 font-family: 'tahoma';
 color: #0000FF;
 text-decoration: underline;
}
SPAN.RVTS8
{
 font-size: 11pt;
 font-family: 'tahoma';
}
SPAN.RVTS9
{
 font-size: 11pt;
 font-family: 'tahoma';
 font-weight: bold;
}
SPAN.RVTS10
{
 font-size: 8pt;
 font-family: 'arial';
 font-style: italic;
 color: #C0C0C0;
}
A.RVTS11, SPAN.RVTS11
{
 font-size: 8pt;
 font-family: 'arial';
 color: #0000FF;
 text-decoration: underline;
}
/*----------Para Styles----------*/
P,UL,OL /* Paragraph Style */
{
 text-align: left;
 text-indent: 0px;
 padding: 0px 0px 0px 0px;
 margin: 0px 0px 0px 0px;
}
.RVPS1 /* Centered */
{
 text-align: center;
 white-space: normal;
}

--></STYLE>
</HEAD>
<BODY>

<P><BR></P>
<P>&#1069;&#1090;&#1086; &#1103; &#1091;&#1078;&#1077; &#1080;&#1079;&#1091;&#1095;&#1072;&#1083;. &#1053;&#1080;&#1082;&#1072;&#1082;&#1080;&#1093; &#1080;&#1076;&#1077;&#1081;, &#1082;&#1088;&#1086;&#1084;&#1077; &#1082;&#1072;&#1082; &#1087;&#1099;&#1090;&#1072;&#1090;&#1100;&#1089;&#1103; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1100; &#1087;&#1088;&#1086;&#1084;&#1077;&#1078;&#1091;&#1090;&#1086;&#1095;&#1085;&#1099;&#1081; &#1074;&#1080;&#1088;&#1090;&#1091;&#1072;&#1083;&#1100;&#1085;&#1099;&#1081; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088; &#1087;&#1086;&#1082;&#1072; &#1085;&#1077;&#1090;.</P>
<P><BR></P>
<P><BR></P>
<DIV><TABLE border=0 cellpadding=1 bordercolor="#000000" cellspacing=2>
<TR valign=top>
<TD width=15 bgcolor="#0000FF">
<P><SPAN class=RVTS6>&gt;</SPAN></P>
</TD>
<TD width=1547 bgcolor="#FFFFFF">
<P><A class=RVTS7 href="http://sysoev.ru/nginx/docs/http/ngx_http_proxy_module.html">http://sysoev.ru/nginx/docs/http/ngx_http_proxy_module.html</A></P>
<P><BR></P>
<P><BR></P>
<P><SPAN class=RVTS8>19.09.07,&nbsp;</SPAN><SPAN class=RVTS9>Igor Askarov&nbsp;</SPAN><SPAN class=RVTS8>&lt;</SPAN><A class=RVTS7 href="mailto:juks@juks.ru">juks@juks.ru</A><SPAN class=RVTS8>&gt; &#1054;&#1041;&#1056;&#1049;&#1059;&#1041;&#1052;(&#1041;):</SPAN></P>
<P><BR></P>
<P><BR></P>
<P><SPAN class=RVTS8>&#1098;&#1044;&#1058;&#1041;&#1063;&#1059;&#1060;&#1063;&#1061;&#1050;&#1060;&#1045;!</SPAN></P>
<P><BR></P>
<P><SPAN class=RVTS8>&#1088;&#1065;&#1060;&#1041;&#1040;&#1059;&#1064; &#1059;&#1056;&#1058;&#1055;&#1051;&#1059;&#1049;&#1058;&#1055;&#1063;&#1041;&#1060;&#1064; &#1041;&#1044;&#1058;&#1045;&#1059; &#1060;&#1049;&#1056;&#1041;&nbsp;</SPAN><A class=RVTS7 href="http://user.domain.com">user.domain.com</A><SPAN class=RVTS8>&nbsp;&#1054;&#1041;</SPAN></P>
<P><A class=RVTS7 href="http://domain.com/users/user/">domain.com/users/user/</A></P>
<P><BR></P>
<P><SPAN class=RVTS8>&#1088;&#1058;&#1055;&#1042;&#1061;&#1040; &#1060;&#1041;&#1051;:</SPAN></P>
<P><BR></P>
<P><SPAN class=RVTS8>location / {</SPAN></P>
<P><SPAN class=RVTS8>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if ($host ~* "^(\w+)\.domain\.com$") {&nbsp;</SPAN></P>
<P><SPAN class=RVTS8>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set $uid $1;</SPAN></P>
<P><SPAN class=RVTS8>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rewrite ^(.*)$&nbsp;</SPAN><A class=RVTS7 href="http://domain.com/users/$uid$1">http://domain.com/users/$uid$1</A><SPAN class=RVTS8>;</SPAN></P>
<P><SPAN class=RVTS8>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</SPAN></P>
<P><BR></P>
<P><SPAN class=RVTS8>&#1086;&#1055; &#1060;&#1041;&#1051; &#1056;&#1055;&#1052;&#1061;&#1070;&#1041;&#1045;&#1060;&#1059;&#1057; &#1058;&#1045;&#1044;&#1049;&#1058;&#1045;&#1051;&#1060;, &#1059;&#1055;&#1055;&#1060;&#1063;&#1045;&#1059;&#1060;&#1063;&#1045;&#1054;&#1054;&#1055; &#1063; &#1042;&#1058;&#1041;&#1061;&#1066;&#1045;&#1058;&#1045; &#1053;&#1045;&#1054;&#1057;&#1045;&#1060;&#1059;&#1057; &#1061;&#1058;&#1052; &#1059;&nbsp;</SPAN></P>
<P><A class=RVTS7 href="http://bob.domain.ru">bob.domain.ru</A><SPAN class=RVTS8>&nbsp;&#1054;&#1041;&nbsp;</SPAN><A class=RVTS7 href="http://domain.ru/users/bob">domain.ru/users/bob</A></P>
<P><BR></P>
<P><SPAN class=RVTS8>&#1088;&#1055;&#1044;&#1059;&#1051;&#1041;&#1062;&#1049;&#1060;&#1045;, &#1051;&#1041;&#1051; &#1044;&#1055;&#1042;&#1049;&#1060;&#1064;&#1059;&#1057; &#1056;&#1058;&#1055;&#1066;&#1058;&#1041;&#1070;&#1054;&#1055;&#1047;&#1055; &#1056;&#1058;&#1055;&#1051;&#1059;&#1049;&#1058;&#1055;&#1063;&#1041;&#1054;&#1049;&#1057;, &#1054;&#1045; &#1058;&#1045;&#1044;&#1049;&#1058;&#1045;&#1051;&#1060;&#1041;?</SPAN></P>
<P><BR></P>
<P><BR></P>
<P><BR></P>
</TD>
</TR>
</TABLE>
</DIV>

</BODY></HTML>