Authored by 梁志锋

Merge branch 'master' into develop2

@@ -40,12 +40,3 @@ location ^~ /passport/autosign/wechat/ { @@ -40,12 +40,3 @@ location ^~ /passport/autosign/wechat/ {
40 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 40 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
41 proxy_set_header Accept-Encoding "gzip"; 41 proxy_set_header Accept-Encoding "gzip";
42 } 42 }
43 -  
44 - location ^~ /product/sale/ {  
45 - proxy_redirect off;  
46 - proxy_pass http://yohobuy-node;  
47 - proxy_set_header Host $host;  
48 - proxy_set_header X-Real-IP $remote_addr;  
49 - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;  
50 - proxy_set_header Accept-Encoding "gzip";  
51 - }  
  1 +location ^~ /passport/autosign/wechat/ {
  2 + proxy_redirect off;
  3 + proxy_pass http://yohobuy-node;
  4 + proxy_set_header Host $host;
  5 + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  6 + proxy_set_header Accept-Encoding "gzip";
  7 + }
  8 +
  9 + location ^~ /passport/login/wechat/ {
  10 + proxy_redirect off;
  11 + proxy_pass http://yohobuy-node;
  12 + proxy_set_header Host $host;
  13 + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  14 + proxy_set_header Accept-Encoding "gzip";
  15 + }
  16 +
  17 + location = /product/index/getNodeContent {
  18 + proxy_redirect off;
  19 + proxy_pass http://yohobuy-node;
  20 + proxy_set_header Host $host;
  21 + proxy_set_header X-Real-IP $remote_addr;
  22 + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  23 + proxy_set_header Accept-Encoding "gzip";
  24 + }
  25 +
  26 + location ^~ /product/sale/ {
  27 + proxy_redirect off;
  28 + proxy_pass http://yohobuy-node;
  29 + proxy_set_header Host $host;
  30 + proxy_set_header X-Real-IP $remote_addr;
  31 + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  32 + proxy_set_header Accept-Encoding "gzip";
  33 + }
  34 +
  35 + location ^~ /product/outlets/ {
  36 + proxy_redirect off;
  37 + proxy_pass http://yohobuy-node;
  38 + proxy_set_header Host $host;
  39 + proxy_set_header X-Real-IP $remote_addr;
  40 + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  41 + proxy_set_header Accept-Encoding "gzip";
  42 + }
  43 +