在使用Nginx的mod_zip模块下载时报错如下:
2019/07/05 14:56:29 [error] 26285#0: *5353 mod_zip: invalid file list from upstream while sending to client, client: 59.172.189.2, server: oa.xx.com, request: "GET /api/downloadByIds HTTP/1.1", upstream: "http://123.321:80/api/oa/downloadByIds", host: "oa.xx.com"
# 后端输出
- 10889 /uploads/avatar/5a7967ca0b3e5.png /a/1.png
- 10648 /uploads/avatar/5a79661413131.png /b/2.png
对nginx调试不熟,求解决思路
解决了一半,nginx转发的问题。我是前后端分离,前端访问接口下载不成功,但是后端接口可以。