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

相關文章
相關標籤/搜索