标签:nginx
微信:
if ( $http_user_agent ~ "MicroMessenger" ){
rewrite ^.* https://www.taobao.com permanent;
}
安卓:
if ( $http_user_agent ~ "Android" ){
rewrite ^.* https://www.baidu.com permanent;
}
苹果:
if ( $http_user_agent ~ "iPhone" ){
rewrite ^.* https://www.jd.com permanent;
}
本文出自 “微风清凉” 博客,请务必保留此出处http://jiay1.blog.51cto.com/9144615/1946717
标签:nginx
原文地址:http://jiay1.blog.51cto.com/9144615/1946717