|
|
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/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 ^~ /passport/login/wechat/ {
|
|
|
#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 ~* /special/(\d+)_(.*)\.html$ {
|
|
|
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";
|
|
|
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/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;
|
...
|
...
|
@@ -32,20 +42,11 @@ location ^~ /passport/autosign/wechat/ { |
|
|
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";
|
|
|
}
|
|
|
|
|
|
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";
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|