The pc website uses nginx to determine whether the mobile phone or tablet is accessed and jumps to the http://wap.com web page specially designed for wap
天蓬老师2017-05-16 17:18:11
if ($http_user_agent ~* '(Android|webOS|iPhone|iPod|BlackBerry)') {
rewrite ^.+ http://wap.zz173.com$uri;
}
In addition, it can be achieved through js
配合nginx
, such as writing cookies.