...
|
...
|
@@ -13,6 +13,23 @@ server |
|
|
default_type application/json;
|
|
|
return 200 '{"code":200,"message":"app embed","data":{"open":"N","url":"http://m.yohobuy.com"}}';
|
|
|
}
|
|
|
# lifeboat
|
|
|
location = /lb/v1 {
|
|
|
#cc: e0323a9039add2978bf5b49550572c7c oo:e47ca7a09cf6781e29634502345930a7
|
|
|
#acecl:7ea6bdf07376a928c5d4677789c45463 opqcl:352f028bd6ecf28de1c285c573642659
|
|
|
default_type application/json;
|
|
|
return 200 '{"code":200,"message":"Config Success","md5":"1231231231231","data":{"ae":"e0323a9039add2978bf5b49550572c7c","url":"http://m.yohobuy.com","tl":"352f028bd6ecf28de1c285c573642659"}}';
|
|
|
}
|
|
|
# hotfix
|
|
|
location = /hf/v1 {
|
|
|
proxy_redirect off;
|
|
|
proxy_pass http://yohobuy;
|
|
|
proxy_set_header Host $host;
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
proxy_set_header Accept-Encoding "gzip";
|
|
|
}
|
|
|
|
|
|
location = /help/shareorder.html {
|
|
|
root /Data/PE/yohobuy/assets;
|
|
|
expires 7d;
|
...
|
...
|
|