-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
反向代理后 下载按钮的链接不正确 #3644
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
you need to pass your host while do reverse proxy, such as: location / {
proxy_set_header Host $http_host;
} |
This was referenced Apr 17, 2023
proxy_set_header X-Forwarded-Host $http_host; # 添加这一行楼上的添加Host是错的,耽误我半小时 |
确实应该填写这个 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please make sure of the following things
alist
and not something else(such asDependencies
orOperational
).Alist Version / Alist 版本
v3.12.2
Driver used / 使用的存储驱动
本机存储
Describe the bug / 问题描述
通过ipv6端口转发的方式连接外网,为能使ipv4端也可以访问,采用了双栈服务器反向代理了一下,可以正常访问。
在下载本机存储的文件时,点击下载,网站是原ipv6的地址,导致无法下载文件,但是点击复制链接 ,通过该连接能正确下载文件。
希望可以调整下下载按钮的链接策略
Reproduction / 复现链接
Logs / 日志
No response
The text was updated successfully, but these errors were encountered: