访问流通平台
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -60,8 +60,8 @@ server { | ... | @@ -60,8 +60,8 @@ server { |
| 60 | add_header Cache-Control private; | 60 | add_header Cache-Control private; |
| 61 | 61 | ||
| 62 | # 使用 rewrite 将 /circulation 替换为 /new-api | 62 | # 使用 rewrite 将 /circulation 替换为 /new-api |
| 63 | rewrite ^/circulation/(.*)$ /$1 break; | 63 | rewrite ^/api/(.*)$ /$1 break; |
| 64 | proxy_pass https://daop-lt-test.zgsjzc.com/api; | 64 | proxy_pass https://daop-lt-test.zgsjzc.com; |
| 65 | } | 65 | } |
| 66 | location /delivery { | 66 | location /delivery { |
| 67 | # 设置允许跨域的域名,可以使用通配符 '*' 允许所有域访问 | 67 | # 设置允许跨域的域名,可以使用通配符 '*' 允许所有域访问 | ... | ... |
-
Please register or sign in to post a comment