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 ~* "a=1") {<br>
proxy_pass <a href="http://proxy1">http://proxy1</a>;<br> }<br><br> doesn'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't match?<br>
<br> eg:<br><br> location ~ /foo {<br> if ($query_string ~* "a=1") {<br>
proxy_pass <a href="http://proxy1">http://proxy1</a>;<br>
}<br> }<br> If query string doesn'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>