<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=koi8-r">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C9A587.4EB25D90">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:windowtext;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:2.0cm 42.5pt 2.0cm 3.0cm;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:" ";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=RU link=blue vlink=purple style='tab-interval:35.4pt'>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> ,  </span></font><font size=2
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>nginx</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>-</span></font><font size=2
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>ru</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> <span class=SpellE></span>,  </span></font><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>nginx</span></font><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial'> </span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> <span
class=SpellE>-</span>  </span></font><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-US'>apache</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>2.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>   </span></font><font size=2
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>img</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>.</span></font><font size=2
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>site</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>.</span></font><font size=2
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>ru</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>     </span></font><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>nginx</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>.  </span></font><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>nginx</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>      </span></font><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>img</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>.</span></font><font size=2
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>site</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>.</span></font><font size=2
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>ru</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>/</span></font><font size=2
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>i</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>/</span></font><font size=2
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>rating</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>/*.</span></font><font size=2
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>png</span></font><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial'> </span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>,  
  ,  <span class=GramE></span>  
 <span class=SpellE></span> </span></font><font size=2
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'><a href="http://www.site.ru/img.php?rating=*">http<span
lang=RU style='mso-ansi-language:RU'>://</span>www<span lang=RU
style='mso-ansi-language:RU'>.</span>site<span lang=RU style='mso-ansi-language:
RU'>.</span>ru<span lang=RU style='mso-ansi-language:RU'>/</span>img<span
lang=RU style='mso-ansi-language:RU'>.</span>php<span lang=RU style='mso-ansi-language:
RU'>?</span>rating<span lang=RU style='mso-ansi-language:RU'>=*</span></a></span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><span style='mso-spacerun:yes'> </span></span></font><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>server {<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style='mso-spacerun:yes'> </span>listen 80; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style='mso-spacerun:yes'> </span>server_name img.site.ru www.img.site.ru;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style='mso-spacerun:yes'> </span>expires max;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style='mso-spacerun:yes'> </span>add_header Cache-Control public;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style='mso-spacerun:yes'> </span>access_log off;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style='mso-spacerun:yes'> </span>location ~*
^.+\.(bmp|gif|jpg|jpeg|ico|png|swf|tiff)$ {<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style='mso-spacerun:yes'> </span>root /var/www/vhosts/site.ru/subdomains/img/httpdocs;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style='mso-spacerun:yes'> </span>if (!-f $document_root${uri}) {<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style='mso-spacerun:yes'> </span>rewrite ^/i/rating/(.*)\.png$
http://www.site.ru/img.php?rating=$1 last;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style='mso-spacerun:yes'> </span>break;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style='mso-spacerun:yes'> </span>}<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style='mso-spacerun:yes'> </span>}<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><span
style='mso-spacerun:yes'> </span>}<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>  ?  -   .<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> .<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'>--</span></font><span style='mso-no-proof:
yes'><o:p></o:p></span></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'> , </span></font><span
lang=EN-US style='mso-ansi-language:EN-US;mso-no-proof:yes'><o:p></o:p></span></p>

</div>

</body>

</html>