app.conf
1.44 KB
#app api
location =/appembed {
default_type application/json;
return 200 '{"code":200,"message":"app embed","data":{"open":"N","url":"http://m.yohobuy.com"}}';
}
location =/lb/v1 {
#cc: e0323a9039add2978bf5b49550572c7c oo:e47ca7a09cf6781e29634502345930a7
#acecl:7ea6bdf07376a928c5d4677789c45463 opqcl:kai: 352f028bd6ecf28de1c285c573642659 guang:7ea6bdf07376a928c5d4677789c45463
#srp 62a165d59f8daf42e2df5f3c5aed8a2f krp:17d7a40f313560d4d9a1189a91e45ab9
#boc 94931e4a3036baeecdacb975e10a8ec6 bcc:dc9262a469f6f315f74c087a7b3a7f35
default_type application/json;
return 200 '{"code":200,"message":"Config Success","md5":"e4567a9039add2978bf5b49550572cff","data":{"ae":"e0323a9039add2978bf5b49550572c7c","url":"http://m.yohobuy.com","tl":"352f028bd6ecf28de1c285c573642659","dl":"5b2d8b4b242e067616c6cd98851b2306","rp":"17d7a40f313560d4d9a1189a91e45ab9","dli":"2a90dfa0f37b92aaebf369e9a4d38ba4"}}';
}
location =/hf/v1 {
#proxy_redirect off;
#proxy_pass http://yohobuywap-node;
#proxy_set_header Host $host;
#proxy_set_header X-Real-IP $remote_addr;
#proxy_set_header X-Forwarded-For $http_x_forwarded_for;
#proxy_set_header Accept-Encoding "gzip";
default_type application/json;
return 200 '{"code": 200,"data": {"url": "http://cdn.yoho.cn/app-hotfix2/production/yohobuy/ios/4.7.0/102/main.js","patchv": "102","filecode": "a824fc9b41a828830d2e6472ad697519"},"md5": "ad92dda46040e4a8d55322356d7d98b7"}';
}