|
|
1
|
+location ^~ /passport/autosign/wechat/ {
|
|
|
2
|
+ proxy_redirect off;
|
|
|
3
|
+ proxy_pass http://yohobuy-node;
|
|
|
4
|
+ proxy_set_header Host $host;
|
|
|
5
|
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
6
|
+ proxy_set_header Accept-Encoding "gzip";
|
|
|
7
|
+ }
|
|
|
8
|
+
|
|
|
9
|
+ location ^~ /passport/login/wechat/ {
|
|
|
10
|
+ proxy_redirect off;
|
|
|
11
|
+ proxy_pass http://yohobuy-node;
|
|
|
12
|
+ proxy_set_header Host $host;
|
|
|
13
|
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
14
|
+ proxy_set_header Accept-Encoding "gzip";
|
|
|
15
|
+ }
|
|
|
16
|
+
|
|
|
17
|
+ location = /product/index/getNodeContent {
|
|
|
18
|
+ proxy_redirect off;
|
|
|
19
|
+ proxy_pass http://yohobuy-node;
|
|
|
20
|
+ proxy_set_header Host $host;
|
|
|
21
|
+ proxy_set_header X-Real-IP $remote_addr;
|
|
|
22
|
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
23
|
+ proxy_set_header Accept-Encoding "gzip";
|
|
|
24
|
+ }
|
|
|
25
|
+
|
|
|
26
|
+ location ^~ /product/sale/ {
|
|
|
27
|
+ proxy_redirect off;
|
|
|
28
|
+ proxy_pass http://yohobuy-node;
|
|
|
29
|
+ proxy_set_header Host $host;
|
|
|
30
|
+ proxy_set_header X-Real-IP $remote_addr;
|
|
|
31
|
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
32
|
+ proxy_set_header Accept-Encoding "gzip";
|
|
|
33
|
+ }
|
|
|
34
|
+
|
|
|
35
|
+ location ^~ /product/outlets/ {
|
|
|
36
|
+ proxy_redirect off;
|
|
|
37
|
+ proxy_pass http://yohobuy-node;
|
|
|
38
|
+ proxy_set_header Host $host;
|
|
|
39
|
+ proxy_set_header X-Real-IP $remote_addr;
|
|
|
40
|
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
41
|
+ proxy_set_header Accept-Encoding "gzip";
|
|
|
42
|
+ }
|
|
|
43
|
+ |