Skip to content
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

waf反代后链接不正确 #5575

Closed
4 tasks done
Omoinemie opened this issue Nov 26, 2023 · 1 comment
Closed
4 tasks done

waf反代后链接不正确 #5575

Omoinemie opened this issue Nov 26, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Omoinemie
Copy link

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.28.0

Driver used / 使用的存储驱动

本地存储

Describe the bug / 问题描述

用safeline waf反代,site_url源地址:http://rt.vomiku.com:1234,前端地址:http://yun.vomiku.com
下载文件时,下载按钮的地址是正确的,但是复制链接按钮地址不正确,不能跳转到site_url,依然是http://yun.****.com,导致下载文件流量通过WAF中转。

Reproduction / 复现链接

http://yun.vomiku.com/%E8%BD%AF%E4%BB%B6%E5%AE%89%E8%A3%85%E5%8C%85/Mac/NTFS%20X-1.0.3.dmg

Config / 配置

"site_url": "http://rt.vomiku.com:1234",

Logs / 日志

No response

@Omoinemie Omoinemie added the bug Something isn't working label Nov 26, 2023
@xhofe
Copy link
Collaborator

xhofe commented Nov 26, 2023

后台管理-设置-全局-自定义内容添加:

<script>
window.ALIST.api = "http://rt.vomiku.com:1234"
</script>

@xhofe xhofe closed this as completed Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants