Alist文件无法下载,404问题
## 摘要
**问题描述:** Alist文件无法下载,返回404错误。
**解决方案:** 检查Nginx反向代理配置,确保 `Host` 头设置为 `$http_host`(包含端口号),而不是 `$host`(不包含端口号)。同时,配置中应包含必要的代理头信息,如 `Range` 和 `If-Range`,以支持文件下载。示例如下:
```nginx
proxy_set_header Host $http_host;
proxy_set_header Range $http_range;
proxy_set_header If-Range $http_if_range;
```
**关键点:**
- 使用 `$http_host` 而非 `$host`
- 确保代理头信息完整
- 核对Nginx配置中的 `proxy_pass` 和其他相关设置