<br><div class="gmail_quote">On Dec 8, 2007 10:19 AM, Igor Sysoev &lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt; wrote:<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 Sat, Dec 08, 2007 at 10:16:12AM -0800, <a href="mailto:rkmr.em@gmail.com">rkmr.em@gmail.com</a> wrote:<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root &nbsp; /home/mark/work/pop/static;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; }<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; location ~ ^/[^/]+\.html$ {
<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root &nbsp; /home/mark/work/pop/static;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; }<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; location ~ ^/[^/]+\.txt$ {<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root &nbsp; /home/mark/work/pop/static;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; }<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; location ~ ^/[^/]+\.txt.gz$ {
<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root &nbsp; /home/mark/work/pop/static;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; }<br><br></div></div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;location ~ ^/[^/]+\.(ico|xml|xml\.gz|html|txt|txt\.gz)$ {<br><div><div></div><div class="Wj3C7c"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root &nbsp; /home/mark/work/pop/static;
<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br></div></div></blockquote><div>thanks a lot! works great!!!<br>these files will be served by nginx directly right? and not sent to backends? pl. correct me if i am wrong<br>thanks<br></div></div>