nginx rewrite从一个url跳转到另外一个url

从本机的/userinfo/wqmTest/said.html url api.52wan.dkmol.net/userinfo/wqmTest/said.html

跳转到 http://sdk.52wan.net/Crond_WqmTest

if ($document_uri ~ /userinfo/wqmTest/said.html){
rewrite ^ http://sdk.52wan.net/Crond_WqmTest permanent;
}