|
|
location ^~ /passport/autosign/wechat/ {
|
|
|
proxy_redirect off;
|
|
|
proxy_pass http://yohobuy-node;
|
|
|
proxy_set_header Host $host;
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
proxy_set_header Accept-Encoding "gzip";
|
|
|
}
|
|
|
|
|
|
location ^~ /passport/login/wechat/ {
|
|
|
proxy_redirect off;
|
|
|
proxy_pass http://yohobuy-node;
|
|
|
proxy_set_header Host $host;
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
proxy_set_header Accept-Encoding "gzip";
|
|
|
}
|
|
|
|
|
|
location = /product/index/getNodeContent {
|
|
|
proxy_redirect off;
|
|
|
proxy_pass http://yohobuy-node;
|
|
|
proxy_set_header Host $host;
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
proxy_set_header Accept-Encoding "gzip";
|
|
|
}
|
|
|
|
|
|
location ^~ /product/sale/ {
|
|
|
proxy_redirect off;
|
|
|
proxy_pass http://yohobuy-node;
|
|
|
proxy_set_header Host $host;
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
proxy_set_header Accept-Encoding "gzip";
|
|
|
}
|
|
|
|
|
|
location ^~ /product/outlets/ {
|
|
|
proxy_redirect off;
|
|
|
proxy_pass http://yohobuy-node;
|
|
|
proxy_set_header Host $host;
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
proxy_set_header Accept-Encoding "gzip";
|
|
|
}
|
|
|
|
...
|
...
|
|