...
|
...
|
@@ -24,6 +24,15 @@ server |
|
|
proxy_set_header Accept-Encoding "gzip";
|
|
|
}
|
|
|
|
|
|
location = /rn/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 = /appembed {
|
|
|
default_type application/json;
|
|
|
return 200 '{"code":200,"message":"app embed","data":{"open":"N","url":"http://m.yohobuy.com"}}';
|
...
|
...
|
|