Closed 20082010 closed 3 months ago
Thanks for opening your first issue here! Be sure to follow the issue template!
补充一个请求截图
补充一个场景,如果图片不点击文字,点击图标按钮,是可以正常预览图片的。只不过会一次性加载当前页面所有图片,容易卡服务器。
你用的什么反向代理?我用nginx没问题的。 alist文档-反向代理
多谢提醒,之前懒,直接写了个localhost。没写$host。调整好之后都是正常的。
Please make sure of the following things
[X] I have read the documentation. 我已经阅读了文档。
[X] I'm sure there are no duplicate issues or discussions. 我确定没有重复的issue或讨论。
[X] I'm sure it's due to
AList
and not something else(such as Network ,Dependencies
orOperational
). 我确定是AList
的问题,而不是其他原因(例如网络,依赖
或操作
)。[X] I'm sure this issue is not fixed in the latest version. 我确定这个问题在最新版本中没有被修复。
AList Version / AList 版本
v3.34.0
Driver used / 使用的存储驱动
WebDav/FTP
Describe the bug / 问题描述
由于WebDav和FTP等的特殊性,在设置WebDAV 策略中一般选择“本地代理”,但实际如果是类似nas挂载,在打开可预览文件例如图片时,点击文件名时预览的大图会显示“载入图像失败”,但实际查看到地址被调整为“http://localhost/p/*******”开头的地址。
但如果选择下载文件,复制链接按钮的地址又是对的。下载按钮又是以localhost的错误主机头。这个问题困扰我好几个版本了。辛苦帮忙看一下如何调整?
Reproduction / 复现链接
https://file.mutouky.cn/cpmh-297582f30a_Jc.jpg
Config / 配置
存储挂载,非配置问题
Logs / 日志
No response