<div dir="ltr">Спасибо, Roxis. Теперь работает<br><br><div class="gmail_quote">2008/7/17 Roxis &lt;<a href="mailto:roxis@list.ru">roxis@list.ru</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Thursday 17 July 2008, Rauan Maemirov wrote:<br>
&gt; Не могу прописать location для определенного расширения. Т.е. мне нужно<br>
&gt; сделать так, чтобы все запросы на картинки из &quot;папки&quot; widget шли не на<br>
&gt; статику (прописанную в самом низу), а определялись как динамика.<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; location ~ /widget/*\.jpg {<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; expires 30m;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fastcgi_pass &nbsp; backend;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include &nbsp; &nbsp; &nbsp; &nbsp;fastcgi_params;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; }<br>
&gt;<br>
&gt; Перепробовал массу вариантов с названием location, ни один не подошел.<br>
&gt; Вопрос немного ламерскй, но все же.<br>
<br>
</div></div>location ~ ^/widget/.+\.jpg$<br>
</blockquote></div><br></div>