当有两个域名反向代理时,site_url如何设定? #6927
Answered
by
Simonzhang8
liaoyungchun
asked this question in
Q&A
-
有两个域名需要反向代理到同一个alist,比如 x.domain.com和 x4.domain.com(后者用于ipv4访问) 配置中的site_url设为 https://x.domain.com, 在文件列表上右击文件下载,下载链接地址是 https://x4.domain.com/.... 二者不一样,会导致无法下载,或下载慢的问题,也令人迷惑。希望能匹配访问地址。 |
Beta Was this translation helpful? Give feedback.
Answered by
Simonzhang8
Aug 16, 2024
Replies: 2 comments 5 replies
-
补充一下,"复制链接按钮"与右键"下载"的链接是一致的,只有"下载按钮"的链接是不正确的 |
Beta Was this translation helpful? Give feedback.
0 replies
-
要不就不填site_url试试? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
已经成功复现你的情况了,问题就是反代时没有传递正确的host
参考:#726 如果你用的是nginx proxy manager的话需要加上这一句,否则host传递不生效