Authored by hf

code review by fei.hong: do add login support https modify nginx config

@@ -397,6 +397,12 @@ server @@ -397,6 +397,12 @@ server
397 proxy_set_header Accept-Encoding "gzip"; 397 proxy_set_header Accept-Encoding "gzip";
398 } 398 }
399 399
  400 + location ^~ /dist/ {
  401 + proxy_redirect off;
  402 + proxy_set_header X-Real-IP $remote_addr;
  403 + proxy_pass http://cdn.yoho.cn/;
  404 + }
  405 +
400 location ~* \.(ico|woff|svg|eot|ttf|otf)$ { 406 location ~* \.(ico|woff|svg|eot|ttf|otf)$ {
401 expires 30d; 407 expires 30d;
402 } 408 }