nginx rewrite带参数?号跳转

if ($request_uri ~* "^/loupan/pho\.php\?houseid=52&type=huxing$") {php

 rewrite .* http://house.xxx.com/hengjidongshang/? permanent;ide

}it


这样的话就是从http://house1.xxxx.com/loupan/pho\.php\?houseid=52&type=huxing跳转到http://house.xxx.com/hengjidongshang/class