301.conf
2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
location =/app.html {
access_log /Data/logs/nginx/access.m.yohobuy.com.log fenxi;
return 301 http://www.yoho.cn;
}
location =/yohood.html {
access_log /Data/logs/nginx/access.m.yohobuy.com.log fenxi;
return 301 http://www.yohood.cn/;
}
location ^~ /home/lottery {
access_log /Data/logs/nginx/access.m.yohobuy.com.log fenxi;
return 301 https://m.yohobuy.com;
}
location ^~ /wechat {
access_log /Data/logs/nginx/access.m.yohobuy.com.log fenxi;
return 301 https://m.yohobuy.com;
}
location ^~ /huodong {
access_log /Data/logs/nginx/access.m.yohobuy.com.log fenxi;
return 301 https://m.yohobuy.com;
}
location ^~ /download {
access_log /Data/logs/nginx/access.m.yohobuy.com.log fenxi;
return 301 http://www.yoho.cn;
}
location ^~ /appactive {
access_log /Data/logs/nginx/access.m.yohobuy.com.log fenxi;
return 301 http://www.yoho.cn;
}
location =/product/new/index {
return 301 http://m.yohobuy.com/product/new;
}
#old idc
location =/download/appsem {
return 301 http://cdn.yoho.cn/huodong-web/appsem/appsem.html;
}
location =/app {
return 301 http://www.yoho.cn;
}
location =/help.html {
return 301 http://m.yohobuy.com/home/help;
}
location ^~ /trends_detail_ {
return 301 http://guang.m.yohobuy.com;
}
#301
location = /girl {
return 301 http://m.yohobuy.com/girls;
}
location =/invite.html {
return 301 http://m.yohobuy.com/activity/invite/index?$args;
}
location ^~ /share_ {
return 301 http://m.yohobuy.com/activity/invite$request_uri;
}
location = /coupon/index {
return 301 /activity/coupon?$query_string;
}
location = /life {
return 301 https://m.yohobuy.com;
}
location = /life/sendCoupon {
return 301 https://m.yohobuy.com;
}
location = /life/login {
return 301 https://m.yohobuy.com;
}
location = /life/coupon {
return 301 https://m.yohobuy.com;
}
location = /life/getSignPackage {
return 301 https://m.yohobuy.com;
}
location = /download/mkapp {
return 301 https://union.yoho.cn/union/app-downloads.html;
}
location = /503.html {
default_type application/json;
if ($http_x_requested_with = XMLHttpRequest) {
return 200 '';
}
return 302 http://www.yohobuy.com/;
}