<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=745445520-15012007><FONT face=Arial size=2>nginx is great, but
I have small problem when I try to use it.</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial size=2>I would like to do
something like:</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial size=2> # rule
1</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial size=2> location
~*
^.+.(jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|css|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js|swf|xml)$
{</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial size=2> #
critical part</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007> <FONT face=Arial
size=2>if ($server_name ~* ignore-static.com) {</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007>
<FONT face=Arial size=2># skip to the next rule #2</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007>
<FONT face=Arial size=2>break;</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial size=2>
}</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial
size=2>......</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial size=2>
}</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=745445520-15012007>
<DIV><SPAN class=745445520-15012007><FONT face=Arial size=2> # rule
1</FONT></SPAN></DIV></SPAN></DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial size=2> location /
{</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial size=2> # non
static files</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial size=2>
<DIV><SPAN class=745445520-15012007><FONT face=Arial
size=2>......</FONT></SPAN></DIV></FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial size=2>
}</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial size=2>Any suggestion on
how to achieve this ?</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial size=2>Thank
you,</FONT></SPAN></DIV>
<DIV><SPAN class=745445520-15012007><FONT face=Arial size=2>Martin
Minka</FONT></SPAN></DIV></BODY></HTML>