using two if statements together in nginx conf
Roxis
roxis at list.ru
Thu Mar 1 02:16:24 MSK 2007
On Wednesday 28 February 2007, Andy Triboletti wrote:
> Unfortunately that's not working for me because the 12345 and 987 are query
> params on a flash .swf file and they're not showing up in the rewrite test
> for the url. Thanks for the suggestions so far though!
next suggestion )
set $preg "$http_referer#$args";
if ($preg ~ ".*bob.com.*#.*12345") {
rewrite ^/thing.*$ /thing.disabled break;
}
More information about the nginx
mailing list