Authored by hf

code review by fei.hong: modify nginx config

@@ -446,11 +446,8 @@ server @@ -446,11 +446,8 @@ server
446 } 446 }
447 447
448 location ^~ /dist/ { 448 location ^~ /dist/ {
449 -<<<<<<< HEAD  
450 #root /Data/code/git/yohobuy/static; 449 #root /Data/code/git/yohobuy/static;
451 #expires 30d; 450 #expires 30d;
452 -=======  
453 ->>>>>>> stable/wap  
454 proxy_redirect off; 451 proxy_redirect off;
455 proxy_set_header X-Real-IP $remote_addr; 452 proxy_set_header X-Real-IP $remote_addr;
456 proxy_pass http://cdn.yoho.cn/; 453 proxy_pass http://cdn.yoho.cn/;
@@ -458,6 +458,14 @@ server @@ -458,6 +458,14 @@ server
458 proxy_set_header Accept-Encoding "gzip"; 458 proxy_set_header Accept-Encoding "gzip";
459 } 459 }
460 460
  461 + location ^~ /dist/ {
  462 + #root /Data/PE/yohobuy_H5/static;
  463 + #expires 30d;
  464 + proxy_redirect off;
  465 + proxy_set_header X-Real-IP $remote_addr;
  466 + proxy_pass http://cdn.yoho.cn/;
  467 + }
  468 +
461 location / { 469 location / {
462 proxy_redirect off; 470 proxy_redirect off;
463 proxy_pass http://119.254.81.245; 471 proxy_pass http://119.254.81.245;