Authored by 梁志锋

测试环境nginx配置

@@ -44,6 +44,10 @@ server @@ -44,6 +44,10 @@ server
44 proxy_pass http://mapi.yohobuy.com; 44 proxy_pass http://mapi.yohobuy.com;
45 } 45 }
46 46
  47 + location = /home/message {
  48 + return 301 http://m.yohobuy.com/home/message;
  49 + }
  50 +
47 location ~* \.(ico|woff|svg|eot|ttf|otf)$ { 51 location ~* \.(ico|woff|svg|eot|ttf|otf)$ {
48 expires 30d; 52 expires 30d;
49 } 53 }