Authored by hf

code review by huanbao.wang: do feature brands and plusstar

@@ -125,6 +125,39 @@ server @@ -125,6 +125,39 @@ server
125 proxy_set_header Accept-Encoding "gzip"; 125 proxy_set_header Accept-Encoding "gzip";
126 } 126 }
127 127
  128 + location = /brand {
  129 + proxy_redirect off;
  130 + proxy_pass http://yohobuy-pc;
  131 + proxy_set_header Host $host;
  132 + proxy_set_header X-Real-IP $remote_addr;
  133 + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  134 + proxy_set_header Accept-Encoding "gzip";
  135 + }
  136 + location ^~ /brand/plusstar {
  137 + proxy_redirect off;
  138 + proxy_pass http://yohobuy-pc;
  139 + proxy_set_header Host $host;
  140 + proxy_set_header X-Real-IP $remote_addr;
  141 + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  142 + proxy_set_header Accept-Encoding "gzip";
  143 + }
  144 + location ^~ /brand/brandList {
  145 + proxy_redirect off;
  146 + proxy_pass http://yohobuy-pc;
  147 + proxy_set_header Host $host;
  148 + proxy_set_header X-Real-IP $remote_addr;
  149 + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  150 + proxy_set_header Accept-Encoding "gzip";
  151 + }
  152 + location ^~ /brand/brandinfo {
  153 + proxy_redirect off;
  154 + proxy_pass http://yohobuy-pc;
  155 + proxy_set_header Host $host;
  156 + proxy_set_header X-Real-IP $remote_addr;
  157 + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  158 + proxy_set_header Accept-Encoding "gzip";
  159 + }
  160 +
128 # 其它默认 161 # 其它默认
129 location / { 162 location / {
130 proxy_redirect off; 163 proxy_redirect off;