location /my/map {
rewrite ^/ http://www.baidu.com/map/hello?ttt=cer redirect;
proxy_set_header Host baidu.com;
}
用户访问http://www.myhost.com/my/map 重定向到http://www.baidu.com/map/hello?ttt=cer
上面的url是示例,需要修改为实际访问地址。