等号后面是变量
访问http://m-test.jinlianchu.com/member/register.html?inviteCode=jlc24639 的跳转到https://wx-test.jinlianchu.com/index.php?r=public%2Fregister&inviteCode=jlc24639
nginx 中添加
location /member {
if ( $query_string ~* ^(.*)inviteCode=(.*)$ ){
rewrite . https://wx.jinlianchu.com/index.php?r=public%2Fregister$1 break;
}
}
if ( $query_string ~* ^(.*)inviteCode=(.*)$ ){
rewrite . https://wx.jinlianchu.com/index.php?r=public%2Fregister$1 break;
}
}
看看跳转到哪一步
wget -S http://m-test.jinlianchu.com/member/register.html?inviteCode=jlc24639 --no-check-certificate