Hi,<br><br>1.  Is it possible to have proxy_pass be applicable to query_string variable without using the location directive?  I was not able to make this work in the configuration file.  <br><br>  Specifically:<br><br>    if ($query_string ~* &quot;a=1&quot;) {<br>
           proxy_pass <a href="http://proxy1">http://proxy1</a>;<br>    }<br><br>   doesn&#39;t work unless its within a location directive<br><br>2.  If the location directive is necessary then how do I make it get past the location directive if query string doesn&#39;t match?<br>
<br>  eg:<br><br> location ~ /foo    {<br>    if ($query_string ~* &quot;a=1&quot;) {<br>
           proxy_pass <a href="http://proxy1">http://proxy1</a>;<br>
    }<br> }<br>    If query string doesn&#39;t match I want to go further and check against other location directives etc. How can that be done? <br><br><br>Thanks,<br>Ankur<br><br>
<br><br>