code review by fei.hong: do add app hotfix and lifeboat api
Showing
1 changed file
with
17 additions
and
0 deletions
@@ -13,6 +13,23 @@ server | @@ -13,6 +13,23 @@ server | ||
13 | default_type application/json; | 13 | default_type application/json; |
14 | return 200 '{"code":200,"message":"app embed","data":{"open":"N","url":"http://m.yohobuy.com"}}'; | 14 | return 200 '{"code":200,"message":"app embed","data":{"open":"N","url":"http://m.yohobuy.com"}}'; |
15 | } | 15 | } |
16 | + # lifeboat | ||
17 | + location = /lb/v1 { | ||
18 | + #cc: e0323a9039add2978bf5b49550572c7c oo:e47ca7a09cf6781e29634502345930a7 | ||
19 | + #acecl:7ea6bdf07376a928c5d4677789c45463 opqcl:352f028bd6ecf28de1c285c573642659 | ||
20 | + default_type application/json; | ||
21 | + return 200 '{"code":200,"message":"Config Success","md5":"1231231231231","data":{"ae":"e0323a9039add2978bf5b49550572c7c","url":"http://m.yohobuy.com","tl":"352f028bd6ecf28de1c285c573642659"}}'; | ||
22 | + } | ||
23 | + # hotfix | ||
24 | + location = /hf/v1 { | ||
25 | + proxy_redirect off; | ||
26 | + proxy_pass http://yohobuy; | ||
27 | + proxy_set_header Host $host; | ||
28 | + proxy_set_header X-Real-IP $remote_addr; | ||
29 | + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
30 | + proxy_set_header Accept-Encoding "gzip"; | ||
31 | + } | ||
32 | + | ||
16 | location = /help/shareorder.html { | 33 | location = /help/shareorder.html { |
17 | root /Data/PE/yohobuy/assets; | 34 | root /Data/PE/yohobuy/assets; |
18 | expires 7d; | 35 | expires 7d; |
-
Please register or login to post a comment